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

hsluv2rgb returns values outside the 0-1 range #8

Closed
tko opened this issue Jun 6, 2020 · 0 comments
Closed

hsluv2rgb returns values outside the 0-1 range #8

tko opened this issue Jun 6, 2020 · 0 comments

Comments

@tko
Copy link

tko commented Jun 6, 2020

Modifying the test suite slightly to add assertions the returned rgb values are in [0,1] range as documented makes the tests fail for several cases, '#ffdd00' for example.

Admittedly the error is only in the 1e-14 range so absolutely tiny, but enough to trip assertions if those values are passed along to other function that validate their inputs.

@mity mity closed this as completed in 40d3ac7 Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant