in reply to Web Color Spectrum Generator

Oh, this reminds me of this.

I would only suggest encapsulating the various mathematical constants such as

use constant PI => 4 * atan2(1,1);

--
g r i n d e r