Small fancy color picker without dependencies and easy to use.
You can use this colorpicker for specified colors picking
- no dependencies
- Link the simple_colorpicker.js to the end of the body
- Link the simple_colorpicker.css file in the head of your app
- Just add input with class simple-colorpicker
<input class="simple-colorpicker">
You can customize colorpicker by calling
const simpleColorpicker = new SimpleColorpicker({
iconSize: '1rem',
colorItemSize: '1rem',
gridCols: 5,
position: 'top',
label: ''
colors: ["#3F51B5","#2196F3", ...]
});
simpleColorpicker.colorpicker(document.querySelectorAll('.my-simple-colorpicker'));
Contributors names and contact info
ex. Jan Krajíc ex. @krajicj
This project is licensed under the [MIT] License