Skip to content

boonep/jquery-hex-colorpicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#jQuery Hex Color Picker ##What? A simple discrete color picker that allows RGB hex color values to be visually selected and entered into a designated input field.

##How? Simple!

Include jQuery as well as the javascript and stylesheet files:

<script src="../src/jquery-hex-colorpicker.js"></script>
<link rel="stylesheet" href="../src/jquery-hex-colorpicker.css" />

Then, all you have to do is attach the hexColorPicker function to any input:

$('#myinputid').hexColorPicker();

You can also add options to customize to your needs:

	jQuery(".color-picker").hexColorPicker({
		"container":"dialog",
		"colorModel":"hsv",
		"pickerWidth":300,
		"size":7,
		"style":"hex",
	});

##More Information

For more information on how to setup a rules and customizations, or to see a demo visit our website.

License

Copyright (c) 2014 Boone Putney Licensed under the MIT license. Submit a bug report above or here:

https://github.com/boonep/jquery-hex-colorpicker/issues

About

A customizable discrete colorpicker plugin for jQuery, utilizing a hexagonal layout and hsl or hsv rgb color mapping.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages