color-type
Helper function to detect the color type/model (HEX, RGB, HSL).
Install
$ npm install --save color-type
$ bower install --save color-type
$ component install hemanth/color-type
Usage
Node.js
var ct = ; cm; //'rgb'cm; // 'hex'cm; // 'hsl' cm; // truecm; // truecm; // true
License
MIT © Hemanth.HM