random-color-code-generator
v1.0.2
Published
Generate random colors in different methods i.e RGB CMYK HSL
Downloads
42
Maintainers
Readme
Random Color Code Generator
Let's you create random color code in RGB, HSL, and HEX.
🚀 Live Demo
https://random-color-code-generator.vercel.app/
Installation
Install random-color-code-generator with npm
npm install random-color-code-generator
GET functions
// import RandomColor from package
import { RandomColors } from 'random-color-code-generator'
// intialize RandomColors and destruct get functions
const { getRandomRGBColor, getRandomHSLColor, getRandomHexColor, } = new RandomColors()
Get Random RGB Color
const { getRandomRGBColor} = new RandomColors()
Get Random HSL Color
const { getRandomHSLColor} = new RandomColors()
Get Random HEX Color
const { getRandomHEXColor} = new RandomColors()