README
normalize-color
Normalize colors for use in terminals
Install
$ npm install --save normalize-color
Usage
const normalizeColor = require('normalize-color');
normalizeColor({r: 128, g: 0, b: 0});
//=> 'red'
API
normalizeColor(input)
input
Type: object
{r: 128, g: 0 , b: 256}
License
MIT © Nikhil Srivastava