-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Gray color is not correctly cast to a string #475
Comments
What hue would you suggest gray has? The reason why you get an undefined hue ( |
I suggest use Because converting color with
but with
|
Below does look like a bug to me though. Undefined values should be handled before conversion, but that does not appear to be happening currently.
|
I just fixed problem for a while with a |
I personally think an option to allow omitting |
None bug has been fixed on main. A new issue is opened that, when implemented, could solve the serialization request: #479. I will resolve this as a duplicate of that issue. I advise following that issue to stay on top of progress. |
I noticed a problem when trying to use the API in the developer tools.
Specifically, when I tried to convert the color 'gray' to HSL and then to a string, the result displayed 'none'. Other color names do not have this result.
The text was updated successfully, but these errors were encountered: