jQuery plugin for picking colors from color swatches
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 5 commits ahead of scottgonzalez:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demos
README.md
jquery.nmk.colorswatch.css
jquery.nmk.colorswatch.js

README.md

== jQuery Colorswatch Plugin ==

Apply .colorswatch() to an input element to show the swatch on focus and hide on blur, or apply it to any other element to make that element the colorswatch (its content gets replaced).

Options:

  • colors, Array of color values as strings, default are some nice colors
  • rowSize, Integer, number of rows to display, default is six
  • value, whatever, default is null