lightness
1.0.0 • Public • Published lightness
Lighten or darken a css color (similar to less.css lighten() and darken())
The second parameter is the absolute percentage value to add to the color.
usage
var lightness = require('lightness')
lightness('#000000', 100)
lightness('#ffffff', -100)
lightness('blue', 10)
Package Sidebar
Install
Weekly Downloads