cohex
v1.0.5
Published
CSS color hex and rgb codes.
Downloads
18
Maintainers
Readme
cohex
CSS color hex codes.
Installation
npm install cohex
Usage
const colors = require("cohex");
console.log(colors.aqua); // #00ffff
console.log(colors.darkseagreen); // #8fbc8f
console.log(colors.random()); // random hex code
console.log(colors.rgb.aliceblue); // [240, 248, 255]
console.log(colors.rgb.random()); // random rgb in array type