SRM2HEX Converts an SRM value to hex. install npm install srm2hex use var srm2hex = require('srm2hex'); srm2hex(20.5); // -> #562e11 license MIT