Parsing the color
The converter first interprets the entry according to its CSS notation. Hex and rgb() describe sRGB channel values, hsl() uses hue, saturation, and lightness, and hwb() uses hue, whiteness, and blackness. OKLab and OKLCH use perceptual coordinates. A color() value also identifies the color space associated with its components.