This function generates an array of random hex color codes.
The number of random colors to generate.
An array of random color hex codes.
// Generate three random colorsconst colors = PickColor(3);console.log(colors); // ["#6a5acd", "#8b008b", "#cd5c5c"] Copy
// Generate three random colorsconst colors = PickColor(3);console.log(colors); // ["#6a5acd", "#8b008b", "#cd5c5c"]
Generated using TypeDoc
This function generates an array of random hex color codes.