Random Color Generator

Click to generate a random color. Get hex and RGB values. Uses crypto.getRandomValues for R, G, B.

Random Color Generator

How it works

We generate three random bytes for R, G, B and format as #RRGGBB and rgb(r,g,b).

When to use it

Use for design inspiration, themes, or test data.

Frequently asked questions

Pastel or dark?

Default is full range. You can constrain to a range (e.g. light only) in code.