Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The color()
functional notation allows a color to be specified in a particular, specified colorspace rather than the implicit sRGB colorspace that most of the other color functions operate in.
Support for a particular colorspace can be detected with the color-gamut
CSS media feature.
The @color-profile
CSS at-rule can be used to define and names a color profile to be used in the color()
function to specify a color.