hex-gen
v1.0.3
Published
Generates and returns random color hex code.
Downloads
7
Maintainers
Readme
Random Color Generator
- Generates and returns random color hex code.
npm i hex-gen
Basic usage
const { randomColor } = require('hex-gen')
const myColor = randomColor()
console.log(myColor)
With log
const { randomColor } = require('hex-gen')
randomColor(true)
//Automatically logs to console, default 'false'.