1.0.2 • Published 1 year ago
random-color-code-generator v1.0.2
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()