aura-js
v0.0.2
Published
compact color manipulation library
Downloads
9
Readme
Aura.js
Aura.js is a compact ES6 JavaScript library for simple color manipulation.
Install
npm install --save aura-js
Usage
Lighten or darken a color by a percentage
aura.darken('#eaeaea', 20); // #b7b7b7
aura.lighten('rgb(44,130,130)', 20); // #50c4c4
Fade a color's alpha value.
aura.fade('#000000', .50); // rgba(0,0,0,.50);