srm2hex

Convert SRM colours to their hex value equivalents.

SRM2HEX

Converts an SRM value to hex.

npm install srm2hex 
var srm2hex = require('srm2hex');
srm2hex(20.5); // -> #562e11 

MIT