Color converter
Paste any CSS color the library parses: hex, named colors, rgb(), hsl(), hwb(), lab(), lch(), oklab(), oklch() and color() with any of the predefined spaces. none components are kept.
Parsed
Gamut flags
Clip versus map
Every space
The gamut flags use inGamut. The two panels under them use toGamut with method: 'clip' and method: 'css': clip clamps each channel, which is what most browsers do today, and the CSS method lowers OKLCH chroma until the result is within a ΔEOK of 0.02 of its clipped self. Your display decides what you can see, so on an sRGB screen the panels for a wide-gamut target can look identical.