The <hex-color>
CSS data type is a notation for describing the hexadecimal color syntax of an sRGB color using its primary color components (red, green, blue) written as hexadecimal numbers, as well as its transparency. It can be used everywhere a <color>
type is allowed.
A <hex-color>
value can be used everywhere where a <color>
can be used.