InputTestHub

Random Colour Generator

Generates random colours with control over hue range, saturation and lightness, in any format.

Colour & Design Nothing uploaded No sign-up Free, unlimited
Colour & Design tool
Fill in the fields and press Generate.
In short Truly random colours — a random value for red, green and blue — are almost never what anyone wants. They produce muddy browns and greys far more often than anything usable, because most of the RGB cube is unsaturated sludge and only a thin shell of it holds the vivid colours people picture when they say random. That is why this generator constrains the parts that matter. Fix saturation and lightness and randomise only the hue, and every colour that comes out is a usable member of the same family: same energy, same weight on the page, different colour. That single change is the difference between noise and a palette. It is also how you generate colours for a chart with an unknown number of series, or avatar backgrounds, or tags — pick evenly spaced hues at one saturation and lightness rather than rolling the dice for each. Two practical notes. Random colours are not distinguishable for everyone, so check the set against colour blindness before using it for anything meaningful. And if you need repeatability — the same user always getting the same colour — you want a hash of their name, not a random value.

How to use the Random Colour Generator

  1. Set the range, count and options you need.
  2. Press Generate to produce a fresh set of values.
  3. Copy the whole set, or click any single value to copy it on its own.

About the Random Colour Generator

The Random Colour Generator generates random colours with control over hue range, saturation and lightness, in any format. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Finding an unexpected colour to start a palette from.
  • Generating placeholder colours for a mockup.
  • Assigning distinct colours to categories in a chart.

Frequently asked questions

Is the Random Colour Generator free?
It is free, with no account, no trial and no daily cap. Every colour & design tool on inputtesthub.com works the same way: open the page and use it.
Can you see what I put into this utility?
No. The Random Colour Generator runs entirely in your browser using JavaScript. Your input never reaches inputtesthub.com or any third party — open your browser's Network tab while you use it and you will see no request go out.
What is the Random Colour Generator used for?
The most common reasons people reach for it: finding an unexpected colour to start a palette from. Generating placeholder colours for a mockup. Assigning distinct colours to categories in a chart. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Can I use the Random Colour Generator on mobile?
Yes. The page is responsive and the utility works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related colour & design tools

All 33
01

Colour Code Converter

Converts colours between HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB and named CSS colours.

02

Colour Picker

Picks any colour and shows its HEX, RGB, HSL, HSV, CMYK and LAB values, plus tints, shades and…

03

HEX to RGB Converter

Converts HEX colour codes to RGB and RGBA values, handling 3, 4, 6 and 8 digit hex.

04

RGB to HEX Converter

Converts RGB and RGBA values into HEX colour codes, including 8-digit hex with alpha.

05

HSL Colour Converter

Converts between HSL, HEX and RGB, so you can adjust lightness and saturation predictably.

06

CMYK Colour Converter

Converts between CMYK and RGB or HEX for print work, with a note on gamut differences.

09

Colour Contrast Checker

Calculates WCAG contrast ratio between two colours and reports AA and AAA pass or fail for…