Demo: http://x.sr.unh.edu/jquery-colorramp
jquery-colorramp is a color ramp widget
This client side javascript code allows user to embed a color ramp widget. See the index.html file for an example.
Create a new color ramp PNG image and save it to this folder.
Execute: perl ./gen.pl
Which will regenerate all necessary config for all color ramp images in the ramps directory.