https://random-color-code-generator.vercel.app/
https://www.npmjs.com/package/random-color-code-generator
Install random-color-code-generator with npm
npm install random-color-code-generator
// import RandomColor from package
import { RandomColors } from 'random-color-code-generator';
// intialize RandomColors and destruct get functions
const { getRandomRGBColor, getRandomHSLColor, getRandomHexColor } =
new RandomColors();
const { getRandomRGBColor } = new RandomColors();
const { getRandomHSLColor } = new RandomColors();
const { getRandomHEXColor } = new RandomColors();