Mark Dickinson added the comment:

The arguments to rgb_to_hsv are supposed to be floating-point numbers in the 
range 0.0 to 1.0. That's documented here: 
https://docs.python.org/2/library/colorsys.html

> Coordinates in all of these color spaces are floating point values. In the 
> YIQ space, the Y coordinate is between 0 and 1, but the I and Q coordinates 
> can be positive or negative. In all other spaces, the coordinates are all 
> between 0 and 1.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29625>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to