O
O
Outsider V.2017-10-22 17:52:32
css
Outsider V., 2017-10-22 17:52:32

How to calculate the total color?

I have two translucent blocks superimposed: one has a background of rgba (243,248,247,0.6), the second has rgba (254,254,254,0.4)
For the other element, you need to set the background equal to the derivative of these two (when they are superimposed on each other).
How to calculate it? Maybe there is such a feature in SASS?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2017-10-22
@Taraflex

https://github.com/heygrady/scss-blend-modes
The blend-normal function
really don't know how it will work when both colors are translucent. Probably not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question