Generating a rainbow?

Richard Thomas chardster at gmail.com
Thu Apr 8 13:08:17 EDT 2010


On Apr 8, 5:46 pm, Tobiah <t... at rcsreg.com> wrote:
> I'm having a difficult time with this.  I want
> to display a continuous range of hues using HTML
> hex representation (#RRGGBB).  How would I go
> about scanning through the hues in order to
> make a rainbow?
>
> Thanks,
>
> Toby

Look at the colorsys module.

http://docs.python.org/library/colorsys.html?highlight=colorsys#module-colorsys



More information about the Python-list mailing list