color-mix()
Newly available since 2023-05-09
The color-mix()
function mixes two colors in a given color space and by a given amount. Commonly, lighter or darker variations of a color are created by mixing with white or black.
To learn more, see
color-mix() at MDN.
Compatibility
- Chrome 111 Released on 2023-03-07
- Chrome Android 111 Released on 2023-03-07
- Edge 111 Released on 2023-03-13
- Firefox 113 Released on 2023-05-09
- Firefox for Android 113 Released on 2023-05-09
- Safari 16.2 Released on 2022-12-13
- Safari on iOS 16.2 Released on 2022-12-13