color-fns
Version:
Modern JavaScript color utility library.
15 lines • 403 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("./utils");
function randomHex() {
var randHex = function () {
return utils_1.decNumToHex(utils_1.getRandomInt(0, 255));
};
return {
blue: randHex(),
green: randHex(),
red: randHex()
};
}
exports.randomHex = randomHex;
//# sourceMappingURL=randomHex.js.map