Bootstrap 4 Color Picker Plugin- colorPalettePicker.js

Bootstrap 4 Color Picker Plugin- colorPalettePicker.js : If you have a bootstrap website and you want to add color picker feature then in this post I am going to share simple Bootstrap 4 Color Picker Plugin colorpalettepicker.js. This jQuery plugin uses of Bootstrap 4 dropdown component to create a simple color picker for your website. The Bootstrap 4 color picker enables users to select a color from a predefined color palette.

Bootstrap 4 Color Picker

Integrate Bootstrap 4 Color Picker


Include all the bootstrap library after that add colorpalettepicker.js on page.

<link rel="stylesheet" href="">
<script src=""></script>
<script src="https://stackpath"></script>
<script src="colorpalettepicker.js"></script>


Create a DIV container which display color picker toggle.

<div id="colorpalettediv"></div>


Call the plugin to activate a default color picker inside the DIV container.

			onSelected: function(color){

See live demo and download source code.


Visit official github repository for more information and follow for future updates. Don’t forget to read license for using this plugin in your projects.