Welcome  |  Blog: On My Mind... (proxied)  |  Photos (PHP Photo Album)  |  Photos (Picassa)

12 Januaray 2006

GD ColorMixer Example

CGI On-The-Fly ColorMixer Graphic

Along the same lines as the Percent Bar, I created a color mixer.  The color mixer takes Red, Green and Blue values between 0 and 255, and shows the color mixture using three overlapping circles. 

mix

I set this up, primarily, for my own use.  It has a built-in demo-mode, which is functionally complete.  View it live below:

/cgi-bin/gd_colormix.cgi

The code can be used as a guide for someone else who wants to get started using Perl with GD.  You can view and download the code here:

gd_colormix.cgi.pl.

Valid CSS!   Valid XHTML 1.0 Strict