Generating a rainbow?

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

On Apr 8, 5:46 pm, Tobiah <t... at> 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.

More information about the Python-list mailing list