Number of colors to generate.
Object containing optional parameters.
Optional
bounds?: number | number[] | { The bounds for color transformation.
Optional
distribute?: booleanWhether the colors should be evenly distributed.
Optional
format?: "hex" | "rgb" | "nrgb"The format of the output colors ('hex', 'rgb', 'nrgb').
An array of colors in the specified format.
Generates a random set of colors with an optional format.