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

Provide fallbacks for Oklch #27

Open
vorg opened this issue Feb 15, 2025 · 1 comment
Open

Provide fallbacks for Oklch #27

vorg opened this issue Feb 15, 2025 · 1 comment
Labels
type/feat A new feature

Comments

@vorg
Copy link
Member

vorg commented Feb 15, 2025

For highly saturated colors decreasing brighness even a bit makes them black. In order to see darker version of the color i also need to decrease chroma.
Image

Color pickers like this one https://oklch.com/#67.21,0.37,133,100 provide fallback for colors out of range

Out of range -> Fallback
Image

Decrease chroma -> Darker colors ara available

Image

@dmnsgn dmnsgn added the type/feat A new feature label Feb 18, 2025
@dmnsgn
Copy link
Member

dmnsgn commented Mar 1, 2025

Would need to use something like culori's toGamut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feat A new feature
Projects
None yet
Development

No branches or pull requests

2 participants