colorfoos
v1.0.6
Published
Module that generates and manipulates colors.
Downloads
3
Readme
Installing
npm:
npm install colorfoos
yarn:
yarn add colorfoos
Usage
Require the module:
const colorfoos = require('colorfoos')
Call a method:
const newHexColor = colorfoos.generateHexColor()
Methods:
- generateHexColor()
Generates a random hex color value and returns it as a string.
e.g.
const hex = colorfoos.generateHexColor()
console.log(hex) // #8A94BE