颜色选择器JQuery插件:Pick-a-Color
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
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!