Skip to content

A scaleable color picker implemented using HTML5 (color wheel, use hsv model) Single file, not require jQuery, colorpicker compatible with mobile devices

License

Notifications You must be signed in to change notification settings

zhao-huang/HTML5-Color-Picker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5-Color-Picker

A scaleable color picker (color wheel). Attaches to "input" DOM element

  • HTML5 canvas
  • Scalable
  • HSV color model
  • Tested on mobile devices
  • Don't require any addition libraries
  • Correct turn off if browser not support HTML5
  • Two styles for set saturation and volume (display as hsv quad block or as hsv triangle)
  • Optional transparency slider (>= v0.9)
  • Optional popup window if attach color picker to an input (>= v1.02)

Example :

<canvas id="color-picker"></canvas>
<input id="color"></input>
<script> 
    new KellyColorPicker({
        place : 'color-picker', 
        size : 150, 
        input : 'color',  
    });
</script>

See Wiki for full documentation

Demo | Examples

List of examples

License

GNU General Public License v3

About

A scaleable color picker implemented using HTML5 (color wheel, use hsv model) Single file, not require jQuery, colorpicker compatible with mobile devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%