Random Color Generator
Generate random colours and get their HEX, RGB and HSL codes instantly. Lock favourites.
Generate random colours and get their HEX, RGB and HSL codes instantly. Lock favourites.
Use the controls above to set your preferred range, quantity or category for the generation.
Hit the Generate button to instantly produce your random results. Click again at any time for a fresh batch.
Click Copy All to copy every result at once, or click individual items to copy them one by one.
Yes. All generation happens entirely in your browser using JavaScript. No data is ever sent to any server.
Yes. Where cryptographic randomness is available via the Web Crypto API, it is used. Otherwise the tool falls back to Math.random(), which is sufficiently random for most purposes.
Yes — click the 🔒 lock icon on any colour card to keep it while regenerating the others. Locked colours stay fixed until you unlock them.
Each generated colour shows its HEX code and RGB value. Click the HEX code to copy it to your clipboard.
It biases the random generation toward light/pastel tones, dark/deep tones or vivid/saturated colours, instead of a fully random hue, saturation and lightness mix.
You can generate between 1 and 20 colours in a single batch.
Yes — it's a popular way to quickly generate palette ideas for branding, UI design or art projects, especially when combined with the lock feature to refine specific shades.
It's possible since each colour is generated independently, though with millions of possible HEX values, exact repeats are rare.
Yes — click the lock icon again on a locked colour to release it, and it will be replaced with a new random colour the next time you generate.
Not currently — the tool provides HEX and RGB values, which are best suited for digital and web design rather than print.