handle-hex-colors
v0.0.2
Published
Handle hexadecimal colors.
Downloads
2
Maintainers
Readme
handle-hex-colors
Handle hexadecimal colors.
Usage
See the examples:
var handleHexColors = require('handle-hex-colors');
handleHexColors('#fff', (x) => x / 2);
// '#808080'
handleHexColors('#000000', (x) => x + 42);
// '#2a2a2a'
Installation
npm install --save handle-hex-colors
License
MIT