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