Length 23:28A deep dive into CSS color-mix()
About this video
A walkthrough of the CSS color-mix() function, covering how to mix colors by percentage, what happens when percentages total less than 100%, how different color models such as lab, oklab, lch and oklch behave, and a brief example of building a color scheme with it. It suits front-end developers and designers who already write CSS.
What you’ll learn
- Mix two colors in CSS using color-mix() with specific percentages
- Predict how color-mix() handles percentages that do not total 100%
- Compare color models such as oklab and oklch when mixing colors










