0.0.2 • Published 5 years ago
handle-hex-colors v0.0.2
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