The appearance of new color formats in CSS has lead to a disruption in the language and how we work with colors. The more traditional color formats like RGB are "on the way out" while new formats like OKLab or OKLCH are rising stars.

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 2 months ago*

and CSSWG recommends using OKLCH for gamut mapping.

I followed the link to section 14.2, but don't see any such recommendation. (Excluding subsections, which seem more specific; unrelated to a recommendation.)

All three CSS gamut mapping algorithms aim at constant-lightness, constant-hue chroma reduction in the OkLCh color space.

  • source
  • parent