Random Color Generator
Random
Spin up a fresh set of random colors whenever you need a starting point, a placeholder, or some inspiration. Choose how many colors to generate (up to 48) and whether to show each as a HEX code, an rgb() value or an hsl() value — switch formats anytime without losing the current colors. Each swatch has a one-click copy button. Colors are drawn from a cryptographically strong random source, so they're evenly spread across the whole spectrum. Everything runs locally in your browser — nothing is generated on or sent to a server.
How to use
- Set how many colors you want and choose a format (HEX, RGB or HSL).
- Click Generate for a new set — or change the count to reshuffle automatically.
- Copy any color with the button on its swatch.
Frequently asked questions
- Can I switch between HEX, RGB and HSL?
- Yes. Changing the format re-displays the same colors in the new notation, so you can grab whichever your project needs without regenerating.
- Are the colors truly random?
- They come from the browser's cryptographically secure random generator (crypto.getRandomValues), spread evenly across all RGB values — not weighted toward any hue.
- How do I get a whole new set?
- Click Generate, or change the count. The current set is kept until you do, so you won't lose a color you liked by accident.
- Do you store or upload the colors?
- No. Generation happens entirely in your browser; nothing is sent anywhere. Your last set is saved only in your own browser for convenience.
Related tools
Random Number Generator
Generate cryptographically random numbers in any range — with or without duplicates, optionally sorted.
Group Maker
Split a list of names into balanced random groups — pick the group count or the people per group.
Raffle Draw
Pick N winners from a list of names — cryptographically random, with or without duplicates.
Dice & Coin Roller
Roll polyhedral dice (d4–d100) or flip a coin with cryptographic randomness.
Random Picker — Roulette & Ladder
Pick a winner with a spinning wheel or a ladder (ghost-leg) draw.
Password Generator
Generate strong, random passwords that never leave your browser.