4 ms·
if you're interested in the topic, a nice article was just published in Smashing Magazine about Oklch: https://www.smashingmagazine.com/2023/08/oklch-color-spa
by vladstudio 3y ago
if you're interested in the topic, a nice article was just published in Smashing Magazine about Oklch:
https://www.smashingmagazine.com/2023/08/oklch-color-spaces-gamuts-css/ https://www.smashingmagazine.com/2023/08/oklch-color-spaces-...
- pbhjpbhj 3y agoSo, having just read this about Oklch, it strikes me that I [as a designer] would want to alter the chroma according to the ability of the display -- which they show the possibility of at the end, using @media: @media (color-gamut: p3){ .some-class { color: oklch(70.9% 0.195 47.025);}} Surely this is the only real option, otherwise you're risking distributing colours across a gamut that the display simply won't render? I'd assume that's going to result in non-linear fades, poor colour distinction, and such like?