# simpleColorPicker jQuery plugin

A simple color picker jQuery plugin that appears as the user focuses the input.

Just attach the simpleColorPicker to an input text and when it gains focus the color palette appears aligned to its bottom right corner.

Check out the latest version at http://github.com/rachel-carvalho/simple-color-picker.

## Live samples

- ### Default options

  Choose a color:

      $(document).ready(function() {
      	$('input#color').simpleColorPicker();
      });

- ### More colors per line

  Choose a color:

      $(document).ready(function() {
      	$('input#color2').simpleColorPicker({ colorsPerLine: 16 });
      });

- ### Different colors

  Choose a color:

      $(document).ready(function() {
      	var colors = ['#000000', '#444444', '#666666', '#999999', '#cccccc', '#eeeeee', '#f3f3f3', '#ffffff'];
      	$('input#color3').simpleColorPicker({ colors: colors });
      });

- ### Effects

  Choose a color:

      $(document).ready(function() {
      	$('input#color4').simpleColorPicker({ showEffect: 'fade', hideEffect: 'slide' });
      });

- ### Non-input elements

  No color chosen yet

      $(document).ready(function() {
      	$('button#color5').simpleColorPicker({ onChangeColor: function(color) { $('label#color-result').text(color); } });
      });