颜色选择器JQuery插件:Pick-a-Color
jopen
11年前
Pick-a-Color是一个易于使用的jQuery 颜色选择器,基于 推ter Bootstrap。
For your users
Flexible text entry
Accepts HEX, RGB, HSL, HSV, HSVA, and names, thanks to Brian Grinstead's amazing Tiny Color.
Saved colors
Saves up to 16 recently used colors. Colors are stored in localStorage or cookies.
Basic color palette
Easy-to-use preset colors that can be lightened and darkened.
Advanced color palette
Let users manipulate saturation, spectrum, and hue to get any color.
For you
Tested
Tested in Chrome (Mac/PC/iOS), Safari (Mac/iOS), IE 8+, Firefox (Mac/PC), and Opera (Mac/PC).
No conflicts
Anonymous JavasScript function and namespaced CSS won't mess up your code.
Simple initialization
As little as three lines of HTML and one line of JavaScript.
Done
You didn't have to write your own color picker. 'Nuff said.
项目主页:http://www.open-open.com/lib/view/home/1394677374598