cohex

1.0.5 • Public • Published

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)

Package Sidebar

Install

npm i cohex

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

21.7 kB

Total Files

5

Last publish

Collaborators

  • squikjs