Iro.js
Modular color picker widget for JavaScript, with support for a bunch of col...
README

iro.js
Modular, design-conscious color picker widget for JavaScript - with support for a bunch of color formats | iro.js.org
Features | Demo | Installation | Usage | Documentation | Special Thanks | Forum
NOTE: this project is currently on hiatus until further notice, as working on open source projects is becoming unsustainable for the maintainer.
Features
Work with colors in hex, RGB, HSV and HSL formats (plus kelvin temperatures!) in one simple, frictionless API
Add multiple colors to the same color picker for selecting color harmonies and themes
Create the perfect color picker from a selection of pre-built UI components
All of iro.js can run from a single script - no extra CSS, images, or third-party libraries required!
~9kb minified and gzipped
Licenced under MPL 2.0 - 100% free for personal and commercial use

Codepen Demos

Installation
Install with NPM
- ```sh
- npm install @jaames/iro --save
- ```
If you are using a module bundler like Webpack or Rollup, import iro.js into your project:
- ``` js
- // Using ES6 module syntax
- import iro from '@jaames/iro';
- // Using CommonJS modules
- const iro = require('@jaames/iro');
- ```
Using the jsDelivr CDN
- ``` html
- <script src="https://cdn.jsdelivr.net/npm/@jaames/iro@5"></script>
- ```
When you manually include the library like this, iro.js will be made globally available on window.iro.
Download and host yourself
Uncompressed, with source comments included. Intended for debugging.
Minified and optimized version.