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 extended Oklab (if it becomes viable) #391

Open
facelessuser opened this issue Feb 16, 2024 · 0 comments
Open

Add extended Oklab (if it becomes viable) #391

facelessuser opened this issue Feb 16, 2024 · 0 comments
Labels
S: triage Issue needs triage.

Comments

@facelessuser
Copy link
Owner

facelessuser commented Feb 16, 2024

The idea would be to either implement extended Oklab as a separate color space or replace Oklab with this new extended implementation. It may be that in the beginning, Oklab extended should be a separate space.

Extended is not ready and more work would be needed, but if it became viable, this would be useful.

Okhsl and Oksv should continue to be implemented using the non-extended form as the compression/decompression of the LMS breaks the algorithm.

The extended form is not just an extended Oklab, it does alter values in existing gamuts, from sRGB all the way up.

w3c/csswg-drafts#9449 (comment)

If we truly want to move to OkLCh as a gamut mapping default, extended would be the way to go as it fixes the gamut mapping of extreme colors giving sane values for any color space.

@gir-bot gir-bot added the S: triage Issue needs triage. label Feb 16, 2024
@facelessuser facelessuser changed the title Add extended Oklab or replace (maybe in the future?) Oklab with extended Add extended Oklab Feb 16, 2024
@facelessuser facelessuser changed the title Add extended Oklab Add extended Oklab (if it becomes viable) Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: triage Issue needs triage.
Projects
None yet
Development

No branches or pull requests

2 participants