LocalExcelTool
Get started

Random Color Generator

Generate a set of random colors, a handy starting point for palettes.

What is Random Color Generator

A random color generator creates several colors from random hue, saturation and lightness values, useful for brainstorming design palettes.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Uniform in RGB is not uniform to the eye

Picking three random bytes gives every RGB triple equal probability, which means most results are mid-tone and desaturated: the space of colours that look distinctly different is a small part of the cube. A run of a hundred random colours feels repetitive long before it runs out of unique values.

The visual consequence is worth knowing when generating placeholder palettes for a chart — random colours will collide in perceived lightness, and two series will be indistinguishable in greyscale print or to a colour-blind reader.

What a usable random palette needs

A minimum perceptual distance between colours, and a controlled lightness range so text stays readable on top. Generating in HSL with a fixed saturation and lightness band, walking hue by golden-angle increments, gives a set that is both varied and legible — which is what the palette tool does deliberately rather than sampling the cube.

Contrast is the constraint that matters most in practice: a colour that looks fine as a swatch can fail WCAG AA as a background behind text. Check the contrast ratio against the actual foreground rather than judging by eye.

Where the randomness comes from

Colours are generated with the platform's CSPRNG where available. That is more than a decoration needs, but it costs nothing and avoids the temptation to reuse a weak generator for something that does need strength.

Nothing is stored and nothing is sent, so refreshing gives a fresh set. If a specific colour must be reproduced later, copy its hex value — there is no seed to re-enter, and the same seed would have to be threaded through the page to make it reproducible.

How to use

  1. 1.Set how many
  2. 2.Click Run
  3. 3.Copy the colors you like

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveValues are generated locally with the platform's CSPRNG, never on a serverThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

Can colors repeat?

Since values are random, similar colors can occasionally appear. Increase the count to explore more.

More in Generators