No description, website, or topics provided.
JavaScript CoffeeScript Ruby
Latest commit 6ce82c3 Jun 4, 2012 @maccman Merge pull request #2 from lsdafjklsd/master
IE9 layout fix
Permalink
Failed to load latest commit information.
lib add save/cancel buttons May 25, 2012
site Fixes IE9 vertical stacking issue Jun 4, 2012
src add save/cancel buttons May 25, 2012
.gitignore first commit Apr 22, 2012
Gemfile first commit Apr 22, 2012
Gemfile.lock first commit Apr 22, 2012
LICENSE readme and some refactoring May 24, 2012
README.md move styles May 24, 2012
Rakefile readme and some refactoring May 24, 2012
index.html fix few issues May 25, 2012

README.md

ColorCanvas

A canvas based color picker. Demo.

ColorCanvas

Usage

Include the two scripts, lib/colorcanvas.js and lib/colorcanvas.input.js inside your page.

<head>
  <script src="lib/colorcanvas.js"></script>
  <script src="lib/colorcanvas.input.js"></script>
</head>

Any color inputs will now automatically be shimmed.

<input type="color" value="#FF0000">

You may also want to include the default styles, located in site/styles.css.

Building

You can build ColorCanvas using Ruby's Bundler.

bundle install
rake build

Acknowledgments

Many thanks to Jeremy Apthorp for advice and bug fixing.