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

Allow other various color spaces #40

Open
xiaoiver opened this issue Feb 25, 2025 · 0 comments
Open

Allow other various color spaces #40

xiaoiver opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@xiaoiver
Copy link
Owner

xiaoiver commented Feb 25, 2025

rect.fill = 'hsl(214.82, 100%, 50%)';

https://d3js.org/d3-color#color_rgb
https://github.com/d3/d3-color/blob/main/src/color.js#L201

But oklab / oklch seems not implemented yet.
d3/d3-color#87

And CSS Level 4 syntax not implemented yet.
d3/d3-color#71

rgb(252 1 53) // failed
hsl(214.82deg 100% 50%) // failed
xiaoiver added a commit that referenced this issue Feb 25, 2025
@xiaoiver xiaoiver moved this to In Progress in infinite canvas project Feb 25, 2025
@xiaoiver xiaoiver added the enhancement New feature or request label Feb 25, 2025
@xiaoiver xiaoiver self-assigned this Feb 25, 2025
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
Status: In Progress
Development

No branches or pull requests

1 participant