Random Color Generator
One click, one random color, every code you need.
- 100% Free
- No Sign Up
- Works in Your Browser
Random color generator
Get a random color with its hex, RGB and HSL codes
More Color Tools
View all tools- Palette generatorGenerate color palettes and lock the ones you like
- Palette from imageExtract a color palette from any photo
- Gradient generatorBuild CSS linear and radial gradients
- Color pickerPick a color and copy it as hex, RGB or HSL
- Contrast checkerCheck text and background contrast against WCAG
- Hex to RGBConvert hex color codes to RGB values
- Image color pickerClick any pixel in a photo to get its color code
- Tailwind color generatorMake a 50-950 Tailwind color scale from one color
- Color wheelFind color harmonies on an interactive wheel
Every everyday color tool, right in your browser.
No software. No uploads. No signup.
Browse all 28 tools- Color tools
- 28
- Named colors
- 139
- Curated palettes
- 216
How to use the random color generator
Three steps, all in your browser.
- 1
Start generating
Get a fresh set of colors, or start from a color you already have.
- 2
Tweak and lock
Adjust any color, lock the ones you like and generate again.
- 3
Copy the codes
Copy any color code in one click, or share the page link.
Random Color Generator: what to know
The random color generator picks a color from all 16,777,216 colors a hex code can describe, using your browser's random number generator. Every click gives you a new color with its hex, RGB, HSL and CMYK codes, the nearest CSS color name and the text color (black or white) that reads best on top of it.
Random colors are useful when you're stuck: they push you toward combinations you wouldn't have chosen. If you like one, open it in the palette generator to build a full scheme around it, or send it to the shades generator for lighter and darker versions.
Because the colors are uniform across RGB, many come out mid-tone and fairly saturated, while very pale and very dark colors are rarer. That's a property of the RGB cube, not a bias in the generator.
Popular uses
- Breaking a creative block with an unexpected color
- Placeholder colors for wireframes and mockups
- Picking team, player or category colors fairly
- Testing that a design still works with any accent color
Tips for the best result
- Generate a few in a row and keep the ones that spark an idea.
- Use the nearest color name to talk about a color without quoting a hex code.
- If a random color is too loud, take a tone of it from the shades generator.
Read how JustYourPalette works, browse named colors and curated palettes, and see our privacy details. Colors you enter and images you open are processed in your browser and are never sent to our server.