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

feat: Oklab/Oklch support #13

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JohnBakhmat
Copy link

@JohnBakhmat JohnBakhmat commented Apr 16, 2024

Oklab is a new perceptual colorspace developed by Björn Ottosson, designed to be simple to use, while doing a good job at predicting perceived lightness, chroma and hue.
https://bottosson.github.io/posts/oklab/

In laymen terms, this color space is better for some operations coz it generates smoother gradient and is not limited by today's tech.

Oklab gradient

image

HSV gradient

image

Oklch

While Oklab uses Cartesian coordinates, Oklch uses polar coordinates.
image

Actuality

@JohnBakhmat JohnBakhmat changed the title Oklab/Oklch feat: Oklab/Oklch support Apr 16, 2024
@hayleigh-dot-dev hayleigh-dot-dev force-pushed the main branch 2 times, most recently from 0ed001d to 5406e7e Compare November 17, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant