handle-hex-colors

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i handle-hex-colors

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • theuves