parse-rgb
v2.0.0
Published
Parse an rgb color
Downloads
36
Maintainers
Readme
parse-rgb
Parse an
rgb()
color
Install
$ npm install --save parse-rgb
Usage
var parseRgb = require('parse-rgb');
parseRgb('rgb(34, 50, 2)');
//=> {red: 34, green: 50, blue: 2}
License
MIT © Arthur Verschaeve