Skip to main content

Function: randomBrightColor()

randomBrightColor(): string

Defined in: src/utils/color.ts:203

Return a random bright color: a random palette color averaged with white.

Ports random_bright_color (0.5 * (rgb + 1)).

Returns​

string