[reportlab-users] HSV color space conversion functions

Dinu Gherman reportlab-users@reportlab.com
Tue, 13 Aug 2002 10:31:04 +0200


Hi,

I recently wrote two simple functions to convert between RGB and
HSV color values. In fact, I ported some C code I found on Nicholas
Phillips' Blender pages. As they might be of interest to others
using ReportLab graphics I've added them to the online ActiveState
Python Cookbook:

   http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/144414

Enjoy,

Dinu