1.0.5 • Published 4 years ago

cohex v1.0.5

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

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

Where are all the colors available?

Colors.md (get all colors here)