/** * Gogo Internet Services Color Picker Javascript Widget * colorPicker for short. * * @author James Sleeman * @date June, 2005 * * The colorPicker class provides access to a color map for selecting * colors which will be passed back to a callback (usually such a callback would * write the RGB hex value returned into a field, but that's up to you). * * The color map presented is a standard rectangular pallate with 0->360 degrees of * hue on the Y axis and 0->100% saturation on the X axis, the value (brightness) is * selectable as a vertical column of grey values. Also present is a one row of * white->grey->black for easy selection of these colors. * * A checkbox is presented, which when checked will force the palatte into "web safe" * mode, only colours in the "web safe palatte" of 216 colors will be shown, the palatte * is adjusted so that the normal blend of colours are "rounded" to the nearest web safe * one. It should be noted that "web safe" colours really are a thing of the past, * not only can pretty much every body display several million colours, but it's actually * been found that of those 216 web safe colours only 20 to 30 are actually going to be * displayed equally on the majority of monitors, and those are mostly yellows! * * =Usage Example= * {{{ *