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

> if we did add an oklab() I'd match the coordinate ranges; whether a given paper uses 0-100, 0-1, or 0%-100% is completely arbitrary and up to the whims of the author, but CSS needs to be more predictable than that.

The `oklab` a and b are also on a [0,1] range rather than [0,150 or so, shrug] do we auto-scale them, too?

sRGB `lime` is `oklab(0.866 -0.23 0.179)` and CIE `lab(87.72% -77.7 80.81)` for example; or to compare Chroma rather more easily, `oklch(0.866 0.291 142.1)` to CIE `lch(87.71% 111.9 133.9)` which means Chroma is 111.9 / 0.291 = **384.5**3 times bigger in CIE LCH compared to OKLCH, for that example.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6642#issuecomment-936680149 using your GitHub account


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

Received on Wednesday, 6 October 2021 16:54:49 UTC