[reportlab-users] HSV color space conversion functions

Dinu Gherman reportlab-users@reportlab.com
Tue, 13 Aug 2002 16:30:23 +0200


Bernhard Herzog:

> Dinu Gherman <gherman@darwin.in-berlin.de> writes:
>
>> I recently wrote two simple functions to convert between RGB and
>> HSV color values.
>
> How do they differ from the functions in Python's colorsys module?

Mine have docstrings! ;-) And my range for the Hue component
is [0...360] instead of [0...1]. Well, quite true, I should check
the standard library more often... Thanks for pointing this out!

Dinu