The <color> CSS data type represents a color. A <color> may also include an alpha-channel transparency value, indicating how the color should composite with its background. 
A <color> can be defined in any of the following ways:
- For the sRGB color space: - A predefined keyword (such as blueorpink) as described in the<named-color>page.
- 
rgb()functional notation or#hexadecimal using the RGB cubic-coordinate system.
- 
hsl()functional notation using the HSL cylindrical-coordinate system.
- 
hwb()functional notation using the HWB cylindrical-coordinate system.
 
- A predefined keyword (such as 
- Any visible color with the following: - 
lch()functional notation using the LCH cylindrical coordinate system.
- 
oklch()functional notation using the Oklch cylindrical coordinate system.
- 
lab()functional notation using the CIELAB color space.
- 
oklab()functional notation using the Oklab color space.
 
- 
- The color()functional notation, using a variety of predefined or custom color spaces.
Note: These color values can be used to apply color to HTML elements using CSS.