Hacker News new | ask | show | jobs
by jakubkrehel 294 days ago
This should be fixed now as well!
1 comments

Good, much improved.

One last thing:

> This way the browser uses OKLCH colors if they are supported, otherwise it falls back to sRGB.

This wording suggests it’s about gamuts, but it’s actually about syntax. It will use the oklch() if that syntax is supported, and then the OKLCH value may be within sRGB or may be in another gamut the screen is using or may need to be mapped back to the screen’s gamut. Whereas #rgb values are inherently limited to sRGB, the baseline.