Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid floating point error with maximum husl sat/lum (#2000)
* homogenization to use _color_to_rgb and normalization of husl_to_rgb output in [0,1] * added better test to husl_to_rgb input and output * Use numpy function and improve tests Co-authored-by: Ivan Gonzalez <scratchmex@gmail.com> (cherry picked from commit b47d843)
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters