grayscale

Turn a <div> background-image or an <img> to grayscale

npm install grayscale
4 downloads in the last week
8 downloads in the last month

grayscale

Turn a <div> background-image or an <img> to grayscale

Installation

$ component install component/grayscale

API

grayscale(el, [fn])

Turns the "src" of an <img> tag, or the background-image of any other kind of element, to grayscale.

License

MIT

npm loves you