Mixing Colors in Pure CSS
CRANK

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

css-tricks.com
Related Topics: CSS Web Standards / Browsers
1 comments
  • CSS で色を合成するために、CSS Animation を使って色と色の中間値を表現する。キーフレームを定義するのが大変なので、CSS の @property と Sass の @function で扱い易くしている。どのみちトリッキーな実装になっているが、将来的には現在提案されている CSS の color-mix 関数で実現できるようになる、かもしれない。