Random Color Generator
Random colours in HEX, RGB or HSL. Click to copy.
Free
Runs in your browser
About this tool
Random Color Generator shows a grid of random colours with their codes. Pick a style to keep the results pastel, bright or dark, and click a swatch to preview it large and copy its code in the format you need.
How to use Random Color Generator
- Choose how many colours and a style.
- Pick HEX, RGB or HSL as the copy format.
- Click a swatch to copy its code.
Questions people ask
How many colours can a HEX code describe?
A 6-digit HEX code has 16,777,216 possible values (256 × 256 × 256). The Any colour style picks evenly from all of them.
What makes a colour pastel?
Pastels have high lightness (about 78–88% in HSL) and medium saturation, which gives soft, light tones.
What is the difference between RGB and HSL?
RGB mixes red, green and blue light from 0 to 255. HSL describes hue (0–360°), saturation and lightness, which is easier for adjusting a colour by hand.
More generators tools
See all 14 →
QR Code GeneratorQR codes for links, Wi-Fi, email, SMS and contacts.
Password GeneratorStrong random passwords with the characters you choose.
Color Palette GeneratorRandom and harmony colour palettes with HEX codes.
CSS Gradient GeneratorLinear, radial and conic CSS gradients with live preview.
Box Shadow GeneratorDesign layered CSS box shadows and copy the code.
Random Number GeneratorPick random numbers in any range, with no repeats.