Red + Blue = Purple… right?
Is there some way to express that in CSS? Well, not easily. There is a proposal draft for a
color-mix function and some degree of interest from Chrome, but it doesn’t seem right around the corner. It would be nice to have native CSS color mixing, as it would give designers greater flexibility when working with colors. One example is to create tinted variants of a single base color to form a design palette.… Read article “Mixing Colors in Pure CSS”