Parse an
rgb()
color
$ npm install --save parse-rgb
const parseRgb = require('parse-rgb');
parseRgb('rgb(34, 50, 2)');
//=> {red: 34, green: 50, blue: 2}
MIT © Arthur Verschaeve
Parse an `rgb()` color
Parse an
rgb()
color
$ npm install --save parse-rgb
const parseRgb = require('parse-rgb');
parseRgb('rgb(34, 50, 2)');
//=> {red: 34, green: 50, blue: 2}
MIT © Arthur Verschaeve
Parse an `rgb()` color
MIT License