Bootstrap Colorpicker is a modular color picker plugin for Bootstrap 4. The Bootstrap JS dependency is optional and it is mainly needed for the popover support. No Bootstrap CSS is required for the plugin to work. To use the plugin without Bootstrap, the popover option should be set to false or null and, depending on your implementation, you will usually need to set inline to true and a container selector option. Note that the plugin may work without Bootstrap if your code is not using any of the mentioned Bootstrap dependencies. Note that the dist files are only distributed via the NPM and Yarn installations. The initial color can be specified in 3 ways, input value, data-color attribute and programmatically with the color constructor option. Whenever the format option is 'auto', the first parsed color format will be detected and used as default, but when the option equals null (default), the format is recalculated every time.
Features
- Modular color picker plugin for Bootstrap 4
- The dist files are only distributed via the NPM and Yarn installations
- Bootstrap 3 or 4 supported
- Call the colopicker via JavaScript
- You can set colorpicker options either as a plugin parameter or data attributes
- Includes a list of pre selected colors (hex format)