hex-to-rgb

Convert color hex value to rgb

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
hex-to-rgb
601.0.17 years ago8 years agoMinified + gzip package size for hex-to-rgb in KB

Readme

hex-to-rgb
Convert color hex value to rgb

Install

npm install hex-to-rgb --save

Usage

var hexToRgb = require('hex-to-rgb');

console.log(hexToRgb('000000'));
console.log(hexToRgb('#ffffff'));

Run Tests

npm install
npm test