Skip to content
Simple & user-friendly color picker for HTML forms
Find file
Pull request Compare This branch is 3 commits ahead, 20 commits behind EastDesire:master.
Latest commit 9c5d478 @jo Merge pull request #1 from gamma-dj/master
quick fix to demo
Failed to load latest commit information. makes jscolor a polyfill
arrow.gif Init
cross.gif Init
demo.html Update master
hs.png Init
hv.png Init
jscolor.js makes jscolor a polyfill
jscolor.min.js makes jscolor a polyfill
makefile makes jscolor a polyfill
modernizr.custom.js makes jscolor a polyfill
modernizr.html makes jscolor a polyfill

Fork of JSColor (written by Jan Odvárko)

It's a polyfill!

My fork changes the way JSColor integrates. It uses

<input type=color>

instead of

<input class=color>

Also, this fork removes support for configuration via class name.


I include a makefile to compress the script down to 15kB using uglifyjs ( To use the task, install

  • make
  • node
  • uglify-js (via npm install uglify-js)

Compress the file with


and you're done - a jscolor.min.js has been created.

Use with Modernizr

This fork of jscolor can be used in combination with modernizr ( to dynamically load the script if the browser does not support input type color.

Please look at modernizr.html for information on usage.



Author: Jan Odvarko,

(c) Johannes J. Schmidt, TF, 2011

Something went wrong with that request. Please try again.