Random Color Generator
Click generate for a fresh random hex color and a matching palette of swatches. Every color shows its hex code with a copy button, so you can grab it straight into your design.
How to generate random colors
- Choose how many colors you want in the palette.
- Click Generate to create a fresh random color and palette.
- Copy any hex code with its copy button to use in your design.
Examples
Single random color
Click Generate
#3f8ec2 with a copy button
Random palette
Set palette size to 5, click Generate
5 random swatches, each with its hex code
Frequently asked questions
What format are the colors in?
Every color is a standard six-digit hex code like #3f8ec2, which works in CSS, design tools and most editors. Tap the copy button to grab it.
How random are the colors?
Each red, green and blue channel is chosen using your browser's built-in random number generator, so any of the 16 million RGB colors can appear.
Can I generate a whole palette at once?
Yes. Set the palette size and click Generate to get that many random swatches together, each with its own hex code and copy button.
Is anything sent to a server?
No. Colors are generated locally in your browser, so the tool is private and works even when you are offline.
Why do I get different colors every time I click?
That is by design. Each click draws fresh random values, so you can keep generating until you find a color or palette you like.
Related tools
Gradient Generator
Generate CSS gradient code from color stops online. Pick colors, set the angle, switch between linear and radial, then copy the gradient.
Color Shades Generator
Generate tints and shades from one hex color online. Pick a base color and get lighter and darker steps toward white and black, ready to copy.
Binary to Decimal
Convert binary to decimal online. Paste any binary number, with or without spaces, and get the exact base-10 value instantly. Runs in your browser.
Binary to Hex
Convert binary to hexadecimal online. Paste a binary number and get exact hex, with optional uppercase. Handles huge values. Runs in your browser.
Binary Translator
Translate text to binary and binary back to text online. UTF-8 accurate, handles emoji and accents, with a copy button. Runs in your browser, nothing uploaded.
Celsius to Fahrenheit
Convert Celsius to Fahrenheit instantly. Type a temperature in C and get F, with the formula and a quick reference table. Runs in your browser.