You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
h will always be defined because v will match one of the 3 conditions due to const v = Math.max(rabs, gabs, babs);. But I get that no linter will be able to understand that. :D
Can this lib convert from RGB to HSL too?
by the way I saw this answer:
https://stackoverflow.com/questions/8022885/rgb-to-hsv-color-in-javascript
I converted the function to TS and there is a bug:
but my SO account is on the fritz and I cannot comment on his answer :(
The text was updated successfully, but these errors were encountered: