Pick a Random Colour — Instant Colour Generator
One click, one colour from the full 16.7 million your screen can show. You get a big swatch, the HEX and RGB values, the closest colour name, and a copy button — nothing else in the way.
Generating your first color…
Values will appear here.
When you want a colour — any colour — let chance decide
Picking a colour sounds trivial until you are the one doing it. Open a colour picker in front of sixteen million options and your brain freezes: this blue or that blue? Warmer? Safer? Braver? A random colour generator cuts the whole ritual short. Press the button and you get one colour, drawn uniformly from every shade your screen can render — deep charcoal, candy pink, electric teal, muddy ochre — presented on a big swatch with everything you need to actually use it.
Every result arrives in three useful forms at once. The HEX code is there for designers and developers, ready to paste into CSS, Figma, or any tool that speaks hexadecimal. The RGB triplet is there for anyone working in channels — filters, shaders, spreadsheets, science classrooms. And a closest common name is there for humans: instead of memorising that today's colour is #7A9E43, you can simply say it is a moss green. A single copy button puts the HEX code on your clipboard in one tap.
The obvious audience is anyone who makes things. Illustrators use random colours to escape their habits — every artist has three favourite hues they secretly overuse, and a generator with no taste of its own is a blunt cure. Web developers spin up random colours for placeholder styles, data visualisation categories, or testing how a layout survives an assault of unusual hues. Teachers use them for art warm-ups: draw for two minutes using only the colour you just rolled. Party and classroom games get a fast referee: the swatch decides the theme, no arguments.
Random colours are also a tiny philosophy. Constraints feed creativity, and a colour you did not choose is the cheapest constraint there is. Challenge yourself to make the given hue work in a composition, an outfit, a dinner table setting, or a slide, and you will discover combinations your habits would never have allowed. The generator does not know what looks good — which is precisely the point.
The tool runs entirely in your browser, so it is instant, free, and works the same on a phone or a studio monitor. Roll as many colours as you like; when one is worth keeping, copy it and go make something. For decisions between a fixed set of options, try the color dice or the spinner wheel instead.
Why too many colour choices make us freeze
The freeze you feel in front of an open colour picker has a name and a research pedigree. In 1952, psychologists William Hick and Ray Hyman independently measured how decision time grows with the number of available options, and found a tidy logarithmic relationship: every doubling of choices adds a roughly constant chunk of time to the decision. The effect is now called Hick's law, and a colour picker is its perfect stage — sixteen million candidates means the "just pick one" cost is enormous before you have even judged a single swatch.
A random generator is the sharpest possible workaround, because it does not shrink the option set — it removes the deciding entirely. You spend zero seconds choosing and all your seconds judging, which is where human judgement is actually good. The pattern generalises well beyond colour: dice decide lunch, coins decide routes, and a random draw decides whether today's sketch starts from ochre or from teal. If the outcome is roughly interchangeable, letting chance pick costs nothing and buys back the attention you were burning on indecision.
Breaking creative block with a colour you did not choose
Designers and illustrators have used randomness as a studio tool for decades, and the reason is simple: personal palettes calcify. Every artist drifts toward a private shortlist of hues — the same three blues, the same warm neutrals — until new work starts resembling old work. A random colour, drawn with no taste and no memory of your favourites, is the fastest way to break that drift. The discipline that makes it work is committing: generate once, no rerolls, and build inside the constraint for a fixed stretch of time.
Most committed sessions produce nothing shippable, and that is the expected economics, not a failure. One draw in five or one in ten drags you somewhere deliberate picking would never reach — a surprising pairing, an ugly colour that forces an interesting neighbour — and that hit rate beats a fourth hour staring at the same sage green. The closest-name readout quietly helps too: seeing "chartreuse", "cerulean" or "burnt sienna" appear at random builds a colour vocabulary you can use in critiques, so next time you can ask for "something like chartreuse but dustier" instead of pointing.
HEX, RGB, HSL and HSV: four dialects of the same colour
Every swatch this tool produces can be written several ways, and knowing the dialects saves real time. HEX packs the three channels into one six-digit number like #FA8072; RGB lists them separately as rgb(250, 128, 114). Both describe the same point in the same colour space, so the choice between them is purely about what the destination expects — CSS accepts either, Figma shows both, some spreadsheets and shader languages want raw channel numbers.
HSL and HSV are different in kind, not just in notation. Instead of naming a colour by how much red, green and blue light it contains, they name it by hue (position on the colour wheel, 0–360 degrees), saturation (how vivid it is) and lightness or value (how bright). Design tools favour these because the axes match how people think: "same hue, a bit darker" is one slider in HSL and a frustrating trial-and-error hunt in RGB. When you get a random HEX you love but want slightly moodier, convert to HSL in your editor, nudge the lightness, and the hue stays untouched.
Warm and cool colours: what a random draw hands you
Roughly speaking, colours from red through yellow on the wheel read as warm — associated with fire, sunlight and skin — while greens through violets read as cool, associated with water, shade and distance. The psychological effects are well documented if not fully explained: warm hues tend to feel activating and to advance visually, cool hues tend to calm and recede, which is why alert states lean red-orange and banking apps lean blue. Because a uniform random draw spans the whole wheel, you will meet both families in equal measure — often on consecutive presses.
That makes the generator a decent intuition trainer. Roll ten colours and notice your own reaction to each: the acid yellow that feels urgent, the slate blue that feels patient, the brown that feels heavy. Designers who can predict a viewer's temperature response to a hue — and who know when to break it, say a calm cool green for a destructive action — make faster and more confident decisions than people who treat colour as pure taste. A random stream is free practice material for that pattern library.
How many colours are actually in play: 16,777,216
The full pool this tool draws from is exactly 2^24, or 16,777,216 colours — three channels of 256 levels each, 256 × 256 × 256. That number is a property of 24-bit colour, the standard for screens and the web: red, green and blue each counted from 0 to 255, and every combination naming one distinct colour from #000000 to #FFFFFF. Uniform randomness means every one of those 16.7 million points has an identical chance on every press.
Uniform has a counterintuitive consequence worth knowing before you judge the tool: most draws look muted. The vivid, saturated colours you see in branding occupy a thin shell of the RGB cube, while the washed-out pastels and grays fill most of its volume — roughly half of all possible draws land somewhere pastel or grayish. Getting three dull colours in a row is not the generator failing; it is an honest sample of the space. The occasional near-neon that pops out is genuinely rare, which is exactly why curated palettes feel special.
How the browser picks your colour: crypto.getRandomValues
Two random sources exist in a web browser, and they are not equal. The older one is Math.random(), a pseudorandom number generator seeded at tab load. It produces numbers that pass statistical tests for randomness but are deterministic: anyone who knows the seed can predict every result in the sequence. Browsers deliberately hide the seed, but a determined attacker with timing information can sometimes reconstruct it, which is why Math.random() is explicitly excluded from any cryptographic context by every major browser vendor.
This tool uses window.crypto.getRandomValues()instead, which the Web Cryptography API backed by your operating system's entropy pool — a mixture of hardware interrupts, keystrokes, thermal noise readings and other unpredictable events gathered since boot. For each button press, the generator requests three independent random bytes (one for red, one for green, one for blue), each drawn from the full 0–255 range. No server contact happens at any point. Your browser picks the colour, displays it, and the result never leaves your device. Every press is a fresh draw with no memory of the previous one — the generator has no history to repeat or avoid.
The practical difference from Math.random() for colour generation is small — nobody is cryptanalysing your mood board — but the architectural difference matters: the tool works identically offline, in a content-security-policy sandbox, and on a device with no network. The only dependency is your browser's standard crypto API, which ships in every modern browser since Chrome 37, Firefox 21, Safari 7 and Edge 12.
What are the odds of getting the same colour twice?
Because every press is an independent draw from 16,777,216 equally likely outcomes, the probability of any specific colour appearing is exactly 1 ÷ 16,777,216 ≈ 0.000006 %. The probability of the same colour appearing on two consecutive presses is that fraction squared: 1 ÷ 16,777,216² ≈ 3.55 × 10−15, or about one in 281 trillion. In practical terms, if a billion people each pressed the button twice per second, you would expect the first exact back-to-back repeat somewhere on Earth roughly once every nine minutes.
That sounds mind-bending, but it is the expected arithmetic. Independence is what makes it possible: neither press knows about the other, so there is no “it already came up once” effect. Rolling a visible colour that looks similar to the last one is far more common than an exact numerical match, because thousands of HEX codes sit inside any perceptible colour band. If you see two blues in a row, they are almost certainly different HEX codes — but your eye is rounding, not the generator.
For three consecutive identical results the probability falls to 1 ÷ 16,777,216³ ≈ 2.12 × 10−22. To put that in context: the estimated number of atoms in the observable universe is roughly 1080, so a run of three exact matches is incomparably rarer than picking one specific atom at random from the universe. The generator can produce long runs ofperceptually similar colours by chance, but exact numerical repetition at scale is not a thing you will observe in your lifetime.
Colour-blind users: why name plus HEX matters
About 8 % of men and 0.5 % of women have some form of colour vision deficiency. The most common type, red-green deuteranopia, makes greens and reds perceptually similar — a bright lime and a vivid red can look nearly identical on screen. Showing only a swatch is therefore not enough. This tool deliberately outputs the colour name and the HEX code alongside every swatch so that any user can read the result accurately, regardless of how their eyes process the hue.
The colour name is the most accessible element: words are processed by a different system than colour perception, so reading “forest green” communicates the result even when the swatch is ambiguous. The HEX code adds precision — a user can paste #228B22 into any colour-contrast tool, or describe it to a sighted colleague, without needing to interpret the swatch at all. For screen reader users, the name and code are announced as plain text, so the colour is accessible to people who cannot see the screen at all. This is the same reason the color dice roller and spinner wheel both label their segments in text rather than expecting colour perception alone to carry the result.
If you are building a product that uses random colours, this three-signal approach — swatch, name, HEX code — is the minimum pattern for inclusion. The swatch helps most users identify the colour at a glance. The name makes the result communicable to anyone in the room. The HEX code makes it machine-readable and pasteable. No single signal covers all three needs, which is why dropping any one of them silently degrades the experience for a meaningful share of users.
Colour conversion reference: 20 standard colours in four notations
When a random draw gives you a colour you want to use, you will often need it in a format other than HEX. The table below lists twenty widely recognised colours in all four notations — HEX, RGB, HSL and HSV — so you can see how the same colour reads across systems. HSL and HSV share the hue axis (0–360 degrees) and differ only in how they describe brightness: HSL's lightness of 50 % is the “pure” hue, while HSV's value of 100 % is maximum brightness regardless of saturation.
| Name | HEX | RGB | HSL | HSV |
|---|---|---|---|---|
| Crimson red | #DC143C | rgb(220,20,60) | hsl(348°,91%,47%) | hsv(348°,91%,86%) |
| Tomato | #FF6347 | rgb(255,99,71) | hsl(9°,100%,64%) | hsv(9°,72%,100%) |
| Coral orange | #FF7F50 | rgb(255,127,80) | hsl(16°,100%,66%) | hsv(16°,69%,100%) |
| Goldenrod | #DAA520 | rgb(218,165,32) | hsl(43°,74%,49%) | hsv(43°,85%,85%) |
| Olive | #808000 | rgb(128,128,0) | hsl(60°,100%,25%) | hsv(60°,100%,50%) |
| Lime green | #32CD32 | rgb(50,205,50) | hsl(120°,61%,50%) | hsv(120°,76%,80%) |
| Forest green | #228B22 | rgb(34,139,34) | hsl(120°,61%,34%) | hsv(120°,76%,55%) |
| Teal | #008080 | rgb(0,128,128) | hsl(180°,100%,25%) | hsv(180°,100%,50%) |
| Steel blue | #4682B4 | rgb(70,130,180) | hsl(207°,44%,49%) | hsv(207°,61%,71%) |
| Dodger blue | #1E90FF | rgb(30,144,255) | hsl(210°,100%,56%) | hsv(210°,88%,100%) |
| Navy | #000080 | rgb(0,0,128) | hsl(240°,100%,25%) | hsv(240°,100%,50%) |
| Indigo | #4B0082 | rgb(75,0,130) | hsl(275°,100%,25%) | hsv(275°,100%,51%) |
| Violet | #EE82EE | rgb(238,130,238) | hsl(300°,76%,72%) | hsv(300°,45%,93%) |
| Hot pink | #FF69B4 | rgb(255,105,180) | hsl(330°,100%,71%) | hsv(330°,59%,100%) |
| Salmon | #FA8072 | rgb(250,128,114) | hsl(6°,93%,71%) | hsv(6°,54%,98%) |
| Tan | #D2B48C | rgb(210,180,140) | hsl(34°,44%,69%) | hsv(34°,33%,82%) |
| Slate gray | #708090 | rgb(112,128,144) | hsl(210°,13%,50%) | hsv(210°,22%,56%) |
| Silver | #C0C0C0 | rgb(192,192,192) | hsl(0°,0%,75%) | hsv(0°,0%,75%) |
| Charcoal | #36454F | rgb(54,69,79) | hsl(205°,19%,26%) | hsv(205°,32%,31%) |
| White | #FFFFFF | rgb(255,255,255) | hsl(0°,0%,100%) | hsv(0°,0%,100%) |
The conversion formula from HEX to RGB is mechanical: split the six digits into three two-digit hex pairs and convert each from base 16 to base 10. The code #FA8072 splits into FA, 80 and 72; FA in hex equals 250 in decimal, 80 equals 128, 72 equals 114, so the RGB value is rgb(250, 128, 114). Going further to HSL requires one more step: normalise each channel to 0–1, find the maximum and minimum, compute the lightness as (max + min) / 2, then derive saturation and hue from the range and which channel holds the maximum. Any design tool does this automatically, but understanding the arithmetic means you can reverse-verify a value without trusting a black box.
Three worked examples: tracing a random colour to all its uses
Abstract explanation lands better with concrete numbers. Here are three real colours a random press might produce, traced from raw output through every step to a usable working value.
Example 1 — a muted mauve: #C398B2. The three crypto bytes arrive as 195, 152 and 178. In HEX that is C3, 98 and B2, giving #C398B2. RGB is rgb(195, 152, 178). Normalised: R = 0.765, G = 0.596, B = 0.698. Max = 0.765 (red), min = 0.596 (green). Range = 0.169. Lightness = (0.765 + 0.596) / 2 = 0.681, or 68 %. Saturation = 0.169 / (1 − |2 × 0.681 − 1|) = 0.169 / 0.638 = 0.265, or 26 %. Hue = 60 × ((0.698 − 0.596) / 0.169 + 4) = 60 × 4.604 = 276°. Final HSL: hsl(276°, 26%, 68%) — a desaturated lilac-mauve. Contrast against white: 3.22:1, which passes WCAG for large text (≥ 3:1) but fails for normal text (≥ 4.5:1). Nudging lightness down to 55 % raises contrast to 4.8:1, passing both thresholds.
Example 2 — a vivid teal: #0DBEAA. Bytes 13, 190 and 170 yield #0DBEAA, or rgb(13, 190, 170). Max = 0.745 (green), min = 0.051 (red). Lightness = (0.745 + 0.051) / 2 = 0.398, or 40 %. Saturation = 0.694 / (1 − |2 × 0.398 − 1|) = 0.694 / 0.796 = 0.872, or 87 %. Hue = 60 × ((170/255 − 13/255) / (190/255 − 13/255) + 2) ≈ 174°. Final HSL: hsl(174°, 87%, 40%). This is a saturated teal that sits near the edge of the vivid shell. Contrast against white: 4.1:1 — close but just below the 4.5:1 normal-text threshold. Dropping lightness by 4 points to 36 % pushes the ratio to 5.3:1, a comfortable pass.
Example 3 — a neutral slate: #7A8899. Bytes 122, 136 and 153 give rgb(122, 136, 153). Max = 0.600 (blue), min = 0.478 (red). Lightness = (0.600 + 0.478) / 2 = 0.539, or 54 %. Saturation = 0.122 / (1 − |2 × 0.539 − 1|) = 0.122 / 0.922 = 0.132, or 13 %. Hue = 60 × ((122/255 − 136/255) / (153/255 − 122/255) + 4) ≈ 213°. HSL: hsl(213°, 13%, 54%) — a textbook blue-gray. Contrast against white: 2.8:1, which fails all WCAG text thresholds. As a chip in a data visualisation legend or an avatar background, that is entirely acceptable. As body copy colour it is not.
Seven real situations where rolling a random colour helps
The tool earns its place in a workflow when it solves a concrete problem. Here are seven situations where a random colour draw cuts through friction faster than deliberate choice.
Placeholder palette for a prototype. A developer building a data dashboard needs eight distinct category colours today so they can check that the chart renders correctly — the final brand palette arrives next week. Rolling eight random colours takes thirty seconds, produces colours the eye can distinguish at a glance, and makes the intent obvious: these are placeholders, not a design decision. Copy all eight HEX codes into a constants file and move on.
Breaking a palette rut. An illustrator working on a series of prints has used the same warm earth tones for six consecutive pieces. They roll one colour — the generator returns a cool slate blue — commit to it as the dominant hue for the seventh piece, and discover it sits better against the warm reds in the background than any deliberate blue they would have chosen. The surprise is the mechanism, not the result.
Deciding a team assignment. A classroom of twenty students needs to be divided into four colour-coded groups for a project. Each group name is written on a card and paired with a random colour; students walk to the colour they feel most drawn to rather than choosing by social affiliation. The exercise takes three minutes and avoids the usual clustering by friendship group, because the binding criterion — colour — is outside the normal social hierarchy.
Testing layout robustness. A front-end developer wants to verify that a user's profile avatar background looks acceptable for any colour, not just the hand-picked preview colours in the design file. They generate twenty random colours and set each as the avatar background: if the white initials remain readable on all twenty (contrast ≥ 4.5:1 after the tool's lightness check), the implementation is robust. If three or four fail, the component needs a fallback strategy — a dark border or a minimum-lightness constraint.
Art supply shopping. A painter wants to buy one new colour from a paint range and has too many favourites to choose. They roll three random HEX codes, find the closest paint name in their brand's swatch book for each, and buy whichever physical match is closest. The randomness removes the analysis paralysis; the closest-name readout makes the bridge from screen to physical pigment navigable.
Conference name-badge colour coding. A small conference assigns coloured lanyards by topic track: five tracks mean five colours. The organiser rolls five random colours, checks that no two are perceptually too close (a quick visual scan plus a Delta-E distance estimate), and assigns them. The random starting point avoids the predictable blue-for-tech, green-for-sustainability assignments that make lanyard colour into a cliché, and produces a palette attendees comment on.
Generative art seed. A programmer building a generative artwork system — each run produces a new composition — needs a seed colour for each session. They press the button once at startup; all derived colours in that session are computed by rotating the hue of the seed by fixed intervals (60°, 120°, 180°) and varying its lightness. The random seed means every session produces a visually coherent but completely different palette, without the artist touching the code between runs.
Common mistakes and misconceptions
A few patterns come up repeatedly when people use random colour tools incorrectly — and understanding them saves real time.
Treating “random” as “nice.” The most frequent frustration is expecting a random generator to produce photogenic colours. It will not. A uniform draw over 16.7 million possibilities spends most of its probability mass in the muted middle — khaki-browns, olive-grays, dusty mauves. The generator is not broken; the expectation is wrong. If the task requires aesthetically pleasant colours, a curated palette tool (or a hue-rotation scheme from a single seed) will produce a better hit rate than raw uniform sampling.
Rerolling until satisfied. Multiple rerolls negate the value of chance. If you are rerolling until you see a colour you already wanted, you are using a random generator as a browser for your existing preferences — which is slower and more cumbersome than a colour picker. The productive use of randomness requires committing to the first result or at most the first three, so the draw actually takes the decision away from you.
Confusing perceptual similarity with numerical identity. Two consecutive draws can look nearly identical to the human eye while being numerically distinct HEX codes. #3A7BD5 and #3B7CD6 differ by one step in each channel — a Delta-E (perceptual distance) of roughly 0.8, well below the 2.3 threshold that marks a just-noticeable difference under standard viewing conditions. If results look repeated, check the HEX codes: if they differ, the generator is working; your eye is rounding.
Applying random colours to text without contrast checks. As shown in the worked examples above, a large fraction of random draws fail WCAG 2.1 contrast thresholds for normal text against white. Using the raw HEX on body copy without checking is the single most common accessibility regression that random colour workflows introduce. The fix is one step: paste the HEX into any contrast checker before deploying it on text.
Named colours, from 148 CSS keywords to Pantone's yearly pick
Humans need names, and the web's answer is the CSS named colours: 148 keywords from tomato and mediumseagreen to rebeccapurple, each mapping to a fixed HEX value. They are handy for quick prototypes, but they are 148 islands in a sea of 16.7 million — a random draw will almost never land on one exactly. That is why this tool shows the closest named colour: it finds the nearest human-friendly label for whatever rolled, so you can say "a dusty coral" instead of reciting digits.
Bigger systems organise colour on purpose. Material Design publishes palettes where each hue comes in a numbered scale from 50 (palest) to 900 (darkest), with 500 as the baseline — a structure that gives teams shared, consistent steps instead of improvised shades. At the opposite extreme sits the Pantone Colour of the Year, a deliberate annual forecast produced by trend researchers weighing fashion, film and economics. A random generator is the third model: no curation, no consensus, just an honest sample of everything. Knowing which model a project needs — curated ramp, trend forecast, or open chance — is most of the decision.
Will your random colour pass accessibility? Check 4.5:1
One honest caveat: most random colours fail text-contrast checks, and that is statistics, not bad luck. WCAG 2.1 requires a contrast ratio of at least 4.5:1 between normal text and its background (3:1 for large text), and because uniform sampling lands many draws in the muted middle of the colour space, a large share of results sit below that threshold against both white and black. If a generated colour will sit behind body copy or carry a button label, run it through a contrast checker before it ships.
The practical workflow is not a redesign — it is one nudge. Treat the random result as a hue suggestion, then adjust its lightness until the ratio clears 4.5:1, which usually takes one or two slider moves in HSL. For decorative use — an illustration fill, a hover glow, an avatar background — skip the check entirely, because WCAG governs reading, not delight. Knowing which side of that line a colour is on is most of the judgement involved.
Random colours in games: rarity tiers and loot palettes
Games have an established colour grammar worth borrowing. The rarity ladder popularised by Diablo and World of Warcraft runs white for common, green for uncommon, blue for rare, purple for epic and orange for legendary — a convention so entrenched that players judge an item's value by its colour before reading a word of its description. Mobile gacha games inherited the ladder wholesale. If you are prototyping an inventory, a tiered pricing table or a loyalty scheme, using that ladder saves the entire design argument: nobody has to learn your scheme because they already know it.
A random generator slots in on top rather than instead. Keep the semantic ladder fixed, then randomise the exact shade within a rarity band so item cards vary while still reading as their tier, or use random draws to seed loot-table previews where the distribution, not the hue, is the point. The discipline is keeping randomness out of the semantic slots: white stays common, purple stays epic, and chance lives in the decorations around them.
Mood boards and brainstorming: randomness as a workflow step
The mood board exercise is where random colour earns its keep most concretely. You have a board full of linen textures and eucalyptus greens; it has produced nothing for three hours, and every new swatch is a variation of the last one. Force the constraint: generate one random colour, commit to it — no rerolls, no "unlucky" — and build for thirty minutes inside it. The timebox matters as much as the draw, because a committed constraint ends the dithering loop that stalled the board in the first place.
The same move works in group brainstorming. When a team is circling the same three adjectives for a brand direction, a random colour on the screen reframes the conversation from "what do we like" to "what would we build around this" — a generative question instead of a judging one. Teams that run both modes deliberately, trend research to set a broad direction and a few random draws to probe its edges, tend to land on variations nobody else reached, because the starting point was never in anyone's habit zone.
In the classroom: colour rolling as an art and maths exercise
Teachers get two lessons for the price of one. The art version is the constraint warm-up: every student rolls a colour and must use it — as the dominant tone, or as the only permitted hue — in a two-minute sketch. It works for any age because the generator, not the teacher, takes the blame for the difficult assignment, and students discover that "ugly" colours force the most interesting solutions. A harder variant: roll three colours and build a composition where all three coexist.
The maths version is a probability demo that lands harder than a dice table. Ask the class to predict what ten random colours will look like, then generate them: the result is almost always a muddy spread nobody predicted, which opens a clean conversation about why intuition fails in huge spaces. With 16,777,216 possibilities, the chance of two students matching on a single draw is about one in thirty million — a number that makes "impossible" feel real. Each press is an independent draw with no memory, which is exactly the behaviour students should see randomness exhibit.
When to roll a colour and when to pick from a fixed set
The final judgement call is choosing the right shape of randomness. If your options are already a short, fixed list — six house colours, four team themes — a generator over the whole spectrum is the wrong tool, because it can produce something not on the list. Dice and spinner wheels choose among visible candidates, which is what a group needs to trust the result. The color dice roller and the color spinner wheel cover that case well.
If instead the question is "show me a colour I did not think of", open-ended draws are the only honest answer, and this page is built for exactly that — as is the US-spelling random color generator, which covers the same ground with a deeper look at the maths. One rule of thumb covers it all: the more candidates should be allowed to win, the more a uniform generator beats a curated list.
Frequently Asked Questions
What does 'pick a random colour' mean here?+
It means the generator picks one colour completely at random from the full 24-bit range a screen can display — over 16.7 million possibilities, from #000000 to #FFFFFF. Each press of the Generate button gives every one of those colours an equal chance of appearing.
Can I copy the colour I get?+
Yes. Press the Copy HEX button and the code — for example #3B82F6 — is placed on your clipboard, ready to paste into CSS, a design tool or anywhere else. The RGB values are shown alongside if your destination prefers that format.
What is the difference between HEX and RGB?+
They describe the exact same colour in two notations. HEX writes the red, green and blue values as one six-digit hexadecimal number like #FA8072, while RGB lists them separately as rgb(250, 128, 114). Both appear on every result here, so you can use whichever your tool expects.
How is HSL different from HEX and RGB?+
HSL names a colour by hue, saturation and lightness rather than by how much red, green and blue light it contains. That makes it the friendlier format for adjusting a colour by feel — 'same hue but darker' is one slider move, while doing it in RGB means changing three channels in coordination. Your random result arrives in HEX and RGB, and any design tool can convert it to HSL in one paste.
Are the generated colours truly random?+
Yes. Every press is an independent, uniform draw across the full 16,777,216-colour space, using your browser's built-in random source — no weighting, no history, no 'nice colours only' filter. One expectation to set: uniform does not mean varied. Muted colours occupy most of the RGB cube, so most draws land pastel or grayish, and two similar results in a row is ordinary coincidence, not a bug.
Why do my random colours usually look washed out?+
Because of the shape of the colour space itself. Vivid, saturated colours form a thin shell of the 16.7-million-colour cube, while pale and grayish tones fill most of its volume — roughly half of all possible draws land somewhere pastel-to-gray. A generator with no curation samples that volume honestly, so dull results are the statistical norm and the occasional near-neon is the rare exception.
Will a random colour pass WCAG contrast requirements?+
Often not, and that is expected. WCAG 2.1 requires a 4.5:1 contrast ratio for normal text (3:1 for large text), and a large share of uniform draws sit below that threshold against both white and black. Treat a generated colour as a hue suggestion, nudge its lightness until a contrast checker shows 4.5:1 or better against your text, and skip the check entirely for decorative uses like illustrations and glows, where no reading happens.
How many named colours does CSS have, and does the tool pick from them?+
CSS defines 148 named colours, from aliceblue to rebeccapurple, each a fixed HEX value. This tool does not restrict itself to them — it draws from the entire 24-bit space — so a random result will almost never match a name exactly. Instead, the closest-name readout finds the nearest recognisable label for whatever rolled, so you get a usable description like 'moss green' for any of the 16.7 million colours.
Can I use this to break a creative block?+
That is one of its best uses, and the technique matters. Generate one colour, commit to it without rerolls, and build — a sketch, a layout, a mood board section — inside that constraint for a fixed stretch of time. Most sessions produce nothing shippable, but the occasional draw forces a combination your habits would never reach, and the commitment itself ends the dithering loop that creative block feeds on.
Is this suitable for classroom activities?+
Yes, for two different lessons. As an art exercise, each student rolls a colour and must build a two-minute sketch around it, which teaches constraint-driven creativity while the generator absorbs the blame for difficult assignments. As a probability demo, have the class predict ten random colours, then generate them: the muddy unpredicted spread opens a real conversation about uniform sampling, independence, and why matching another student is roughly a one-in-thirty-million event.
Should I use random colours for game rarity tiers?+
Use randomness around the convention, not inside it. Players already read the established ladder fluently — white common, green uncommon, blue rare, purple epic, orange legendary — so randomising the tier colours themselves destroys instant comprehension. The productive pattern is to keep the semantic ladder fixed and randomise the exact shade within each band, so item cards vary visually while still reading unmistakably as their tier.
When should I use this instead of color dice or a spinner wheel?+
It depends on how many candidates should be allowed to win. Dice and spinner wheels choose among a fixed, visible list — six faces, a dozen segments — so they fit 'which of these specific colours' decisions, especially in a group that needs to trust the result. This generator draws from all 16.7 million colours, answering the different question 'show me a colour I did not think of'. Fixed short list: dice or wheel. Open-ended exploration: this tool.
Related Color Tools
- Color Dice
- Online Color Dice
- Color Dice Roller
- Random Color Generator
- Color Spinner Wheel
- Color Spinner
- HEX Color Generator
- Random Color Picker
- Roll a Color
- Random Color for Games
- Random Color Wheel
- Wheel of Colors
- Random RGB Color
- HEX Color Codes
- Random Color Palette
- Color Scheme Generator
- What Is a HEX Color
- RGB vs HEX
- HSL Color Model
- How to Pick a Random Color