in reply to hex color generator

First, you haven't said whether this is a web question or not. Could be web, could be TK, could be something else entirely. But let's presume web since that's what most people mean when they don't say since they don't think anything exists besides the web. {grin}

Depending on how cut-n-paste-and-clickable you want, you can use something like GD or Image::Magick to generate a real image, or you can use a BGCOLOR attribute of a table cell to generate a color.

More details upon request; please include your existing knowledge so we don't repeat what you already have discovered.

-- Randal L. Schwartz, Perl hacker