Web features explorer

color()

Newly available since 2023-05-09
Tags: css Groups: CSS > Color types

The color() function picks a color from a given color space. Wide gamut color spaces like display-p3 allow showing more vibrant and saturated colors than the standard srgb color space. To learn more, see color() at MDN.

Compatibility (view on caniuse.com)