rgb-to-hex
v0.0.0
Published
Convert rgb value to hex
Downloads
66
Maintainers
Readme
rgb-to-hex
Convert rgb value to hex
Install
$ npm install --save rgb-to-hex
Usage
var rgbToHex = require('rgb-to-hex');
rgbToHex('rgb(100, 40, 30)');
//=> '64281E'
API
rgbToHex(input)
input
Required
Type: string
Put rgb string and get hex
License
MIT © drKraken