Answer the question
In order to leave comments, you need to log in
How to determine the difference between colors (less\sass\...)?
less has functions darken\lighten which change the base color making it darker/lighter by a certain % (amount).
The question is how to perform the reverse procedure and get% having 2 colors on hand?
Answer the question
In order to leave comments, you need to log in
There is a very good article on the topic of calculating the difference between colors: thesassway.com/advanced/how-to-programtically-go-f... And another tool that automates what this article describes: razorjam.github.io/sasscolourfunctioncalculator
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question