Skip to content

maccman/colorcanvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published