rgb-to-int
This module takes an rgb object and converts it to a number between 0
and 16777215
inclusive
rgb values must be between 0 and 255 inclusive
Install
npm install rgb-to-int
Usage
var rgbToInt = ;var int = ;console// => 2763306
This module takes an rgb object and converts it to a number between 0
and 16777215
inclusive
rgb values must be between 0 and 255 inclusive
npm install rgb-to-int
var rgbToInt = ;var int = ;console// => 2763306
npm i rgb-to-int
0
1.0.0
MIT