randomColor
randomColor copied to clipboard
Rewrote the HexToHSB function. This fixes #141
The bug was originated from the current HexToHSB function returning undefined
when passed particular hex values as argument.
Thanks for this. I will merge if you remove the linting/white-space changes, and the changes to .gitignore
.
(Otherwise, I'm more than happy to change the HexToHSB
function myself if needed)
Sincerely, David
Thanks for the feedback. I did it. Now it's ready to be merged.
Thanks for making those changes – now I'm worried that unfortunately that function doesn't do what is says it does. HSB seems to be different to HSL and the function you include seems to deal with HSL rather than HSB.
I will look into this further
Okay. Glad if that helped.