Re: [csswg-drafts] [css-color] Add OKLab, OKLCH (#6642)

> because you don't need to be a Will Hunting to decipher on the fly that 100 100 50 is a toxic green or 360 50 30 is a color of the lipstick of your history teacher

Both LCH and OkLCH have this property, just with different ranges. If anything, they have this propertly *more* because you know that e.g. `lch(50% 60 30)` is medium lightness due to the 50% regardless of the rest of the values of the other coordinates. HSL does not provide this guarantee at all: `hsl(60 100% 50%)` is a very light color (`#ffff00`) and `hsl(240 100% 50%)` a very dark one (`#0000ff`) despite having the same lightness. That's the exact problem these new color spaces are trying to solve: making things *more* predictable.

> So the question is: oklab and oklch is great, but why we can't have an okhsl/okhsv for regular people who just want to add some color for their wordpress blog?

What would these do? How do you envision they'd work? (I'm not asking for implementation details, just trying to understand what it is you're asking for)

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6642#issuecomment-1488620126 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 13:32:07 UTC