Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OKLCH as a supported color format #23374

Closed
psilent opened this issue Jan 16, 2023 · 5 comments
Closed

Add OKLCH as a supported color format #23374

psilent opened this issue Jan 16, 2023 · 5 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@psilent
Copy link

psilent commented Jan 16, 2023

Description of the new feature / enhancement

Color Picker should have a selector in the editor to enable the OKLCH color format

Scenario when this would be used?

This is a potentially upcoming format to be supported by CSS. Developers would find it useful if this was one of the formats supported by Color Picker.

Supporting information

https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/oklch

@psilent psilent added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jan 16, 2023
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Jan 19, 2023

According to the info, it's experimental and only supported by Safari so far. That alone tells me the necessety is not there yet. As you said: "potentially upcoming".

Off-topic; reminds me of that xkcd comic...

"We have 11 standards, that's crazy! We should create one standard. [later...] Now we have 12 standards."

@crutkas
Copy link
Member

crutkas commented Feb 22, 2023

/dup #23724

@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 22, 2023
@MatthewRoweDev
Copy link

According to the info, it's experimental and only supported by Safari so far. That alone tells me the necessety is not there yet. As you said: "potentially upcoming".

Off-topic; reminds me of that xkcd comic...

"We have 11 standards, that's crazy! We should create one standard. [later...] Now we have 12 standards."

I know I'm necroing here, but I really heavily disagree with this. OKLAB is a very significant advancement in perceptual color spaces as a whole. It's not "just another standard" to be the butt of the XKCD joke. It's based on the anatomy of the human eye, and the reason for its necessity is completely different from other abstract tech standards because it is a foundational shift in how we think of digital color spaces as a whole.

@aeimi
Copy link

aeimi commented Feb 26, 2024

OKLCH is new HSL, with current 89.65% support in moderns browsers. https://caniuse.com/?search=Oklch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

5 participants