4 ms·
Some libraries like chroma.js and hsluv support lch already. The latter even compresses the chroma/saturation from a solid into a cylindrical form (like hsl doe
by deltron3030 6y ago
Some libraries like chroma.js and hsluv support lch already. The latter even compresses the chroma/saturation from a solid into a cylindrical form (like hsl does with rgb) and like in the example from the link.
Calculating colors within CSS as part of a build step or on the fly is more a niche usecase though, so I'm a bit sceptic if lch capability within CSS would have a big effect on design tools considering the existing options mentioned above.
The main usecase is for design, from where you'd export hex values for development for most dev usecases.
LCH collides with Adobes own color system they use for Kuler/Adobe color, which is a proprietary perception based system. Pantone of course, it also rivals their proprietary system (they sell expensive color swatch books to designers), and NCS, another proprietary perception based system that is mostly used in interior design. Strong forces within the industry with an self preserving interest.
So the hopes are more on rivaling tools like Figma and Sketch to implement LCH. With LCH they could even do print, because process colors can be easily derived from those..