Length 24:34Using currentColor with color-mix is amazing
About this video
Kevin Powell shows how to use currentColor with color-mix() in CSS to build higher-contrast links, handle more advanced colour cases, and combine the technique with light and dark modes and prefers-contrast.
What you’ll learn
- Use color-mix() with currentColor to derive colour variations in CSS
- Build higher-contrast link styles with color-mix()
- Combine color-mix() with light and dark modes and prefers-contrast










