Bootstrap Colorpicker 3

Bootstrap Colorpicker is a simple and customizable colorpicker component for jQuery, compatible with Twitter Bootstrap.

Build Status


You can get the code in many different ways, depending on your needs:

  • Download the latest master ZIP file
  • Clone using Git: git clone
  • Install using NPM: npm install bootstrap-colorpicker
  • Install using Yarn: yarn add bootstrap-colorpicker
  • Install using Composer: composer require itsjavi/bootstrap-colorpicker

To start using the component, most of the time you will only need the files under the dist folder. Example:

<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8">
  <link href="dist/css/bootstrap-colorpicker.css" rel="stylesheet">
  <div class="container">
      <input id="mycp" type="text" class="form-control" />
  <script src="//"></script>
    $(function () {


Note that this library depends on jQuery >= 2.1.0.

The Twitter Bootstrap dependency is totally optional, since this library does not depend directly on it in order to work, but only whenever Bootstrap-related classes like form-control and input-group-addon are used like in the examples, which will indeed need the Bootstrap CSS loaded to be displayed correctly.


The documentation of this project is powered by JSDoc and the Minami template together with Handlebars for the examples.


Please see CONTRIBUTING for details.


Originally written by Stefan Petre.


The MIT License (MIT). Please see License File for more information.