iro
'hsla(228,80,32,1.0)' ;
The above example does:
- Create object from HSLA string
- Increase red by 60
- Rorate hue by 20
- Decrease black by 10
- Format as HTML HEX format
API documentation: English/Japanese
For Node.js (npm)
Install via npm.
npm install iro --save
const iro = ;var c = "...";
For Webpages
Download iro.js
OR iro.min.js
, and add script tag into your HTML.
<script type="text/javascript" src="iro.min.js"></script>
The MIT License (MIT)
This package is provided under the MIT License.
Copyright © 2016 Retorillo