GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
The array methods .rgbToHsb() and .hsbToRgb() sometimes will not yield expected results.
Take this example:
// [19, 76, 29]
Ideally that would return the same value it started as.
Running through all possibilities of HSB will have around 1.4 million inconsistent results. I understand the limitations of converting these using only ints. I just feel that consistency would be the more expected result.
Although it's entirely possible I'm not fully thinking through the limitations to their full extent.
@TriteLife, I'm reviewing the issues queue preparing for the 1.5 release later this month.
This issue seems to have been fixed. Can you confirm that in this fiddle: http://jsfiddle.net/WBBhf/