0.0.1 • Published 1 year ago
perctohex v0.0.1
perctohex
Converts percentage value p
to hex value.
Installation
$ npm install perctohex
API
var percToHex = require('perctohex');
percToHex(85); // 85%
// => 'D9'
Running tests
$ npm test
Converts percentage value p
to hex value.
$ npm install perctohex
var percToHex = require('perctohex');
percToHex(85); // 85%
// => 'D9'
$ npm test