3 ms·
> There are some more complex color spaces that do try to be the best of everything here, but I’m not aware of any browser or OS providing support for working w
by leeoniya 5y ago
> There are some more complex color spaces that do try to be the best of everything here, but I’m not aware of any browser or OS providing support for working with these perceptual color spaces.
OKLab and OKLCH coming soon to CSS4 near you:
https://www.w3.org/TR/css-color-4/#resolving-oklab-oklch-values https://www.w3.org/TR/css-color-4/#resolving-oklab-oklch-val...
- jansan 5y agoOKLab is great. AFAIK even Photoshop uses OKLab to interpolate gradients.
- aaaaaaaaaaab 5y agoSee: https://mobile.twitter.com/bjornornorn/status/1453069681082896394?lang=en-GB https://mobile.twitter.com/bjornornorn/status/14530696810828...
- leeoniya 5y agowell, that was fast :)
- mtklein 5y agoOh that’s amazing! OKLab looks really good to me!
- leeoniya 5y agoan interactive comparison also here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html https://raphlinus.github.io/color/2021/01/18/oklab-critique....
- gsnedders 5y agoIt's already shipping in Safari 15.4! Note this is a part of what the "Color Spaces and Functions" area of Interop 2022 (https://webkit.org/blog/12288/working-together-on-interop-2022/ https://webkit.org/blog/12288/working-together-on-interop-20...) contains. See https://wpt.fyi/interop-2022?feature=interop-2022-color https://wpt.fyi/interop-2022?feature=interop-2022-color for the current status.