sindresorhus / System-Color-Picker

🎨 The macOS color picker as an app with more features

Home Page:https://sindresorhus.com/system-color-picker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make LCH not clamped to sRGB

sindresorhus opened this issue · comments

Currently, the LCH color is clamped to sRGB as the browser support for high gamut is limited. I think we could add a preference later on to enable high gamut LCH. Is a preference even needed? Could we make high gamut the default at some point?

How will browsers handle this?

commented

Since May 15th, 2023, all major browsers have supported LCH. Personally, I think making the copy button support right clicking to select the color space to use ("Copy as ...") would be good.

With color-gamut media query, wide color gamut can be progressively adopted in browsers. Hence, a preference to remove the clamp to sRGB would be great.