Syronex

JQuery Color Picker

A simple colorpicker plugin for JQuery.

Usage

Minimal

$('#test').colorPicker({			
  click: function(color){$('#output').html(color);} 
});

Options

$('#test').colorPicker({			
  defaultColor: 0, // index of the default color (optional)
  columns: 13,     // number of columns (optional)  
  color: ['#FFFFFF', '#EEEEEE'], // list of colors (optional)
  // click event - selected color is passed as arg.
  click: function(color){$('#output').html(color);}, 
});

Download

Download (zip, 19K)

License

GNU GPL

Credit

This is based on:

jQuery colorSelect plugin 0.9
http://plugins.jquery.com/project/colorPickerAgain
Copyright (c) 2008 Otaku RzO (Renzo Galo Castro Jurado).
(Original author URL & domain name no longer available.)

We integrated this plugin into FormSmarts Form Builder, making the following changes: