C
C
Concencuc2020-02-22 17:34:04
css
Concencuc, 2020-02-22 17:34:04

How to understand how much one color is darker than another?

I have such a variable $blue: #2db2fa;And in the layout there is also a blue color, but darker #36b4f9, I want to insert it as a variable dependent on the $blue color.
Give advice please

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Concencuc, 2020-02-22
@Concencuc

garex.github.io/nodejs-colors-to-less-operations
_

P
Pavel Romanov, 2020-02-22
@fibit

Most likely SCSS will suit you: https://habr.com/en/post/140612/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question