Esc

Random Color Generator

Generate random colors and palettes with HEX, RGB, and HSL. Lock the ones you love.

Press Space to generate again

Keyboard shortcuts

Space Enter
Spin, flip, roll or pick
F
Fullscreen
M
Mute or unmute
R
Reset the tool
/ Ctrl K
Search tools
?
Show this list

The random color generator creates random colors in HEX, RGB, or HSL, one at a time or as a palette of up to eight. Lock any color you like and generate again to find colors that go with it.

Choose a style to keep results useful: pastel, vivid, dark, light, or any. Tap a color’s code to copy it straight into your design tool or CSS.

How to use the random color generator

  1. 1

    Choose a style and count

    Any, pastel, vivid, dark, or light; one to eight colors.

  2. 2

    Generate

    Press New colors or the space bar.

  3. 3

    Lock and copy

    Lock favorites, regenerate the rest, then tap a code to copy.

HEX, RGB, and HSL

HEX (#FFB240) is the most common format on the web. RGB lists red, green, and blue from 0 to 255. HSL describes hue (0–360°), saturation, and lightness, which is the easiest to adjust by hand: keep the hue and change the lightness for tints and shades.

Building a palette with locks

Start with five colors. Lock the one you like most, then regenerate until a second color works with it, and lock that too. Repeat until the palette feels right. Pastel and light styles are good for backgrounds; vivid works for accents and buttons.

Always check text contrast before using a palette for reading: dark text on light colors and white text on dark colors. Each swatch here picks black or white text automatically for readability.

Random Color Generator questions

Are the colors truly random?

Hue, saturation, and lightness are each drawn at random within the chosen style’s limits, using cryptographic randomness.

How do I copy a color?

Tap the color code. It copies in the selected format.

Can I spin for a color name instead?

Yes, the color wheel spinner spins between named colors.

Settings

Sound
Sound pack
Motion
Your data

Everything you type stays in this browser. Nothing is sent to a server.