Jquery Plugin
Color Picker
Add HTML5 Color Picker Feature On Website Using ColorPick.js
In this post I am going to show you how to Add HTML5 Color Picker Feature On Website Using ColorPick.js, ColorPick.js is a simple and minimal jQuery color picker plugin for the modern web. This plugin is quite awesome to integrate theme color changer.
- 4.5/5.0
- Last updated 09 September, 2022
- By Admin
Or give user custom feature to choose color code as per their privilege. This color picker also show user recent selected color pick by using HTML5 local storage to store and retrieve the recent colors selected by your users.
Add HTML5 Color Picker On Website Using ColorPick.js
Follow below steps to integrate color picker feature on your website.
Libraries
Include following CSS (colorPick.css) + JS (colorPic.js), ColorPick.js requires jQuery. This is the only dependency. Make sure to load it before ColorPick.js.
CSS
Styling the color picker selector using following CSS.
HTML
Add a HTML element to place the color picker.
JS
Finally call colorPick() function on page to display basic color picker.
You can pass more option in your color picker to add extra feature like show recent selected color pick.
I hope it can help you.