A
A
Anton Shamanov2016-01-14 18:04:36
css
Anton Shamanov, 2016-01-14 18:04:36

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

1 answer(s)
I
Irina Sokolovskaya, 2016-01-14
@SilenceOfWinter

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 question

Ask a Question

731 491 924 answers to any question