A simple component to select color in the same way you select color in Adobe Photoshop
Just try it out.
colorpicker.zip (73 kb): jQuery, Javscript files, CSS files, images, examples and instructions.
Attach the Javascript and CSS files to your document. Edit CSS file and fix the paths to images and change colors to fit your site theme.
<link rel="stylesheet" media="screen" type="text/css" href="css/colorpicker.css" />
<script type="text/javascript" src="js/colorpicker.js"></script>
All you have to do is to select the elements in a jQuery way and call the plugin.
$('input').ColorPicker(options);
If you want to set a new color.
$('input').ColorPickerSetColor(color);
The 'color' argument is the same format as the option color, string for hex color or hash for RGB and HSB ({r:255, r:0, b:0}).