FREE TOOL
Random Color Generator
Generate random colors with their HEX, RGB, and HSL values. Copy any format instantly.
Why Use Our Random Color Generator?
Truly Random Colors
Generates any of over 16 million possible colors with uniform probability using the full RGB color space.
HEX, RGB, and HSL Output
Every generated color is shown in all three common web formats with copy buttons for each.
Lock Favorite Colors
Lock any color from the history grid to preserve it. Locked colors stay visible while you continue generating.
Recent Color History
Stores the last eight generated colors in a visual grid below the main swatch for easy reference and comparison.
Large Color Preview
The generated color fills a large swatch so you can evaluate it clearly before deciding to copy or lock it.
100% Private
All generation happens in your browser. No data is sent to any server.
Frequently Asked Questions
How do I generate a random color?
Click the Generate Random Color button. A new color is picked from the full 16-million-color RGB space and displayed instantly.
How do I copy the HEX code?
Click the Copy button next to the HEX format. You can also copy the RGB or HSL format using their respective copy buttons.
What does locking a color do?
Locking a color in the history grid preserves it so it stays visible even as you generate more colors. It is highlighted with an orange border.
How many colors are in the history?
The last eight generated colors are kept in the history grid. Older colors are removed when the grid is full.
Can I use these colors in my design?
Yes. Copy any format (HEX, RGB, or HSL) and paste it directly into CSS, design tools like Figma or Canva, or any other color-aware application.
Is the random color generator free?
Yes. Completely free with no sign-up required.
More Tools
