Random Color Generator
Click the button below to generate a color palette.
Result History

Looking for color inspiration? This random color generator creates a palette of five colors with their HEX codes, ready to copy into your design, code or presentation.
How to use it
- Click Generate New Colors to get a fresh palette.
- Click any color to copy its HEX code (for example
#3730A3) to your clipboard. - Your recent palettes are saved in the history in your own browser.
How the colors are generated
For every color, the red, green and blue channels are picked at random between 0 and 255. The text on each swatch automatically switches between black and white, whichever is easier to read on that color, so codes stay legible.
Ideas
- Starting point for a website or app color scheme.
- Art and illustration prompts: paint with the palette you got.
- Random colors for games, charts or placeholder content.
Random colors are a starting point: check contrast before using them for text on a background.
Frequently Asked Questions
How are the random colors generated?
For each color the red, green and blue channels are picked at random between 0 and 255 and shown as a HEX code. Click a color to copy its code to your clipboard.
Why is the text on the colors sometimes black and sometimes white?
The text color is chosen automatically, black or white, whichever is easier to read on that background.
Are my previous results saved?
Your recent results are kept only in your own browser's local storage and are never sent to a server. You can delete them one by one or all at once in the Result History section.
Is this tool free?
Yes, you can use it for free without signing up. The site is supported by ads.