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

Support OKLCH #237

Open
jonasrydningen opened this issue Oct 15, 2024 · 0 comments
Open

Support OKLCH #237

jonasrydningen opened this issue Oct 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jonasrydningen
Copy link

jonasrydningen commented Oct 15, 2024

Pastel already supports OKLAB and LCH, formatting to OKLCH would be very useful for web design as it has become a CSS standard and is supported by all web browsers.

Benefits to OKLCH is defining colors outside the sRGB color space and visual color consistency.

Links:
https://oklch.com/ (Web color picker)
https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl (Article with benefits)
https://en.wikipedia.org/wiki/Oklab_color_space (Conversion math)

@sharkdp sharkdp added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants