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

hsv2rgb vs. rgb2hsv #37

Open
hdon opened this issue Jul 22, 2014 · 0 comments
Open

hsv2rgb vs. rgb2hsv #37

hdon opened this issue Jul 22, 2014 · 0 comments

Comments

@hdon
Copy link

hdon commented Jul 22, 2014

Hope I'm not spamming, but I wanted to get this down before I knocked off for the night in case I forgot.

I haven't looked carefully yet, but I think rgb2hsv returns hue in 360 degrees, while hsv2rgb expects hue in 0-1 range.

A comment in the source code would be very helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants