-
Notifications
You must be signed in to change notification settings - Fork 30
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 to clampChroma
option to clamp to P3 space
#168
Comments
Hi @ai, thanks for the suggestion and sorry for the late response. This feature is captured in the PR: It introduces more generic functions for |
Cool! But this PR will break TypeScript PR. Can we merge TS first? TS is very important for modern days DX. |
Although initially planned for #165, the PR does not include an implementation of Some references on the topic:
|
P3 space is widely used (any modern Apple tech) and give a lot of new color.
We are using
clampChroma
to generate dynamic accent color. It would be nice to be able to clamp chroma not just to fit sRGB, but also to fit P3.The text was updated successfully, but these errors were encountered: