Random Color Generator
Generate random colours in HEX, RGB, and HSL — pick a style, set how many you want, and copy them with one click.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Random Color Generator?
The Random Color Generator creates random colours and shows each one in HEX, RGB, and HSL at once. You can generate a single colour or a whole palette of up to 64, and constrain the look with styles: vibrant, pastel, light, or dark.
It is handy for finding fresh colour ideas, filling in placeholder values, or building a quick palette without leaving the browser. Every colour is generated locally — nothing is sent to a server.
How to Use Random Color Generator
Choose a style (Any, Vibrant, Pastel, Light, or Dark)
Set how many colours you want
Click Generate for a new set
Copy a single HEX value, or copy all of them at once
Common Use Cases
- Finding a starting colour or palette for a website or graphic.
- Generating placeholder colours for mockups and prototypes.
- Exploring vibrant or pastel schemes for branding ideas.
- Picking random dark or light background colours for UI themes.
Example Input and Output
Generate a vibrant palette and copy the HEX values.
Style: Vibrant · Colours: 4#e63946, #2a9d8f, #e9c46a, #264653How This Tool Works
For each colour the tool picks random HSL values within the chosen style's range (or random RGB for Any), converts to RGB, and formats the result as HEX, RGB, and HSL — all in the browser.
Technical Stack
Styles
Vibrant and Pastel adjust saturation; Light and Dark adjust lightness. Any gives fully random RGB.
Privacy
All colours are generated client-side — nothing leaves your browser.
Frequently Asked Questions
What formats are shown?
Every colour is displayed as HEX, RGB, and HSL so you can copy whichever your project needs.
What do the styles do?
They constrain saturation and lightness — Vibrant is bold, Pastel is soft, Light and Dark control brightness, and Any is fully random.
How many colours can I generate?
From 1 up to 64 at a time. Use a small count for a single pick or a larger one for a palette.
Are the colours truly random?
They use your browser's random number generator, reseeded each time you click Generate.
Is anything uploaded?
No. Colour generation happens entirely in your browser.
Related Tools
Color Picker from Image
Extract exact Hex, RGB, and HSL color codes from any image using a precision eyedropper tool.
Color Converter
Convert colors between HEX, RGB, HSL, HSV, CMYK, and HWB. Includes tints & shades, WCAG contrast ratio, CSS snippets, and color history.
Color Palette Generator
Generate harmonious color palettes and schemes.
Tint and Shades Generator
Generate tints (lighter) and shades (darker) of any colour in steps. Shows HEX codes and live swatches for each level.
Color Contrast Checker
Check color contrast ratios for WCAG AA and AAA across text, buttons, icons, and UI components.
HEX to RGB
Convert a HEX colour code to RGB values instantly. Shows the CSS rgb() function output with a live colour preview.

