[csswg-drafts] [css-color] Add OkHSL (#8659)

Ptico has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color] Add OkHSL ==
The CSS Color 4 already have an OkLAB and OkLCH which is great step forward, but it turned out not everyone is aware @bottosson have created OkHSL and OkHSV as well. This color spaces combines the benefits of HSL and OkLAB:

1. Human friendly — it is easy to calculate or build a desired color just looking at numbers without having a PhD in physics
2. Scripting ability —  generate color palettes just by rotating an H component
3. a11y — possibility to create a color with exact desired color contrast

The only downside: unlike OkLAB, OkHSL is limited to sRGB and i'm not sure if it possible to scale it to the wide gamut. Anyway, it worth to at least discuss this. 

@LeaVerou 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8659 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 March 2023 17:47:25 UTC