1 / 2
Blend Any Two Colors with color-mix()
Mixing two colors used to mean a preprocessor function or hand-computed hex values. color-mix() does it in the browser: name a color space, two colors, and how much of the first one you want. Drag the slider and watch the result bar and the declaration change together — the bar's background is the very color-mix() call printed underneath it.
csscolorcolor-mixinteractionslider