Color Dice — Roll a Random Color Online
A free 3D color dice you can roll right in your browser. Every roll lands on one of six colors — red, orange, yellow, green, blue or purple — and shows you the exact HEX code and name.
Roll the dice to see your color.
Roll Statistics
No rolls yet — your counts will appear here.
What is a color dice and what can you do with it?
A color dice is a six-sided die where each face shows a different color instead of the usual pips. This online version recreates that experience in your browser: click the roll button, watch the 3D dice tumble through a full spin, and land on a random color in about a second. Alongside the result you always get the HEX code and the English color name, so a casual roll can turn straight into a usable design value. Red comes up as #FF0000, orange as #FFA500, purple as #800080 — the code appears the instant the cube settles, ready to copy into anything that speaks the web's color language, which is essentially everything.
People reach for a color dice most often in games and social situations. Board game groups use it to assign player colors or teams fairly, without arguments over who calls red. Party hosts use it for drawing games like Pictionary variants, improvisation prompts, or quick challenges: roll a color, then name three objects in the room that match it. Teachers use it to pick activities, group students, or add a splash of chance to a quiz warm-up. Anywhere a coin flip feels too binary, a color dice gives you six clean options — and unlike a coin, the result announces itself. Nobody has to remember whether heads meant pizza or pasta.
Designers and developers have their own reasons to roll. Stuck choosing a starting hue for a poster, a slide deck, or a prototype? Let the dice decide and design around whatever it gives you — constraints like that are a surprisingly effective cure for the blank canvas. Because every result includes its HEX code, you can drop the color straight into a CSS file, a Figma fill, or a color picker without any conversion work. The dice is not trying to pick your whole palette; it is picking the one color you could not commit to, and the rest of the design usually falls into line around it faster than you would expect.
The statistics panel underneath the dice adds something a physical die never could. Every roll is counted, so after a few turns you can see how many times each color has come up and what share of the total it holds. That makes this page a handy little probability demonstration for classrooms: roll thirty times and watch how the bars drift toward — but never perfectly reach — an even split. Your counts are saved locally in your browser, so the tally keeps growing across visits until you press reset. A week-long tally in a classroom works out to a few hundred rolls, which is exactly the range where the bars start looking suspiciously level and students start asking why.
Dice are older than writing, and India is deep in the story
It is worth knowing how long humans have been rolling cubes, because the answer is: longer than we have been writing things down. Six-sided dice have been dug out of excavations at Shahr-e Sukhteh, a Bronze Age settlement in Iran dated to around 2800 BC, and dice sets turn up in Mesopotamian and Egyptian graves even earlier. The Indian subcontinent has some of the richest dice archaeology anywhere — cubical dice have been recovered from Harappan sites of the Indus Valley Civilisation such as Rakhigarhi and Mohenjo-daro, dating back roughly four thousand years, and the Rigveda's famous "Gambler's Lament" hymn describes dice games played on the plains of ancient India three thousand years ago. The game of Pachisi, whose descendants include Ludo and Parcheesi, grew out of that same long tradition. When you tap the roll button on this page, you are participating in a habit at least five millennia old.
One detail from that history surprises people who have never looked closely at a die: the pip arrangement. On a standard die, the faces are numbered one through six, and the arrangement is deliberately unbalanced — opposite faces always add up to seven. One sits opposite six, two opposite five, three opposite four. That has been the convention since at least Roman times, and it has a practical consequence: even if a die's material is slightly uneven, the opposing pairs average out so no single number is systematically favored by wear. Every face still has exactly a one-in-six chance — about 16.7 percent — on every roll, and each roll is independent of the last. Five reds in a row does not make red any less likely on the sixth. That fact feels wrong to almost everyone the first time they hear it, which is precisely why the statistics panel on this page is worth watching for a few hundred rolls.
A color dice simply swaps the numbers for something most people process faster. A pip count has to be read and translated — "four, which means I'm the scribe" — while a color is understood before the cube stops moving. That is the entire design trick, and it is why classrooms and party tables keep reaching for colored faces specifically. The randomness is identical; the interpretation overhead drops to zero.
What a HEX code actually is — and why sixteen million matters
The HEX readout deserves a proper explanation, because it is the bridge between a casual roll and a usable design asset. Every color a screen can display is written as a six-character code, two hexadecimal digits each for red, green and blue — #FF0000 is pure red, #800080 is the purple this dice shows, #87CEEB is sky blue. Each channel runs from 00 to FF, which is 256 levels, and 256 × 256 × 256 gives 16,777,216 distinct colors — the full 24-bit palette that every modern display works with. When people say "sixteen million colors," that is not marketing rounding; it is exactly 2 to the 24th power, no more and no less.
Six colors on a dice is obviously nowhere near sixteen million, and that is by design rather than limitation. Six is the number of faces a fair cube can carry, and six is also a sweet spot for group decisions — enough variety to feel properly random, few enough that every face is an outcome somebody at the table actually wanted. When you do need the full range, the site has a tool for that: the random color generator draws from all 16,777,216 colors a screen can show, with the HEX code handed over the same way. A useful mental model is that the dice picks from the short list humans put on game pieces, while the generator picks from the long list computers put inside screens.
Color naming is its own rabbit hole once you start down it. Pantone, the company whose matching system printers and brands treat as ground truth, announces a Color of the Year every December — a pick that has run annually since 2000 and has moved from a niche design-industry curiosity to something that shapes product lines from paint aisles to phone cases. The 2024 pick, Peach Fuzz, appeared on everything from kitchen appliances to runway fabric within months. What is interesting is how the pick gets made: a small group of color analysts reads through years of cultural signals — film, fashion, politics, technology — and commits to a single point in a sixteen-million-color space. Which is to say, even the professionals who name colors for a living eventually have to stop deliberating and choose one. A dice makes the same kind of choice in a second, with considerably less hand-wringing and, admittedly, less cultural analysis.
Game night: the fairest referee in the room
Game night is where a color dice earns its permanent bookmark. Picture five people around a table with a new board game and the eternal argument: who goes first? The box says "the youngest player starts," which is a dreadful rule when the youngest player is twenty-six and insufferably smug about it. Assign everyone a color — the dice covers up to six players — roll once, and the color that lands face-up takes the first turn. The whole negotiation takes about fifteen seconds, nobody can argue with the tumble, and if two players wanted the same color you simply roll off for it. The dice absorbs the blame so the group does not have to; nobody renegotiates with a plastic cube, and nobody renegotiates with an animated one either.
The same roll settles plenty of in-game disputes: which expansion to play tonight, whose playlist runs the next hour, who makes the emergency snack run in round three. Teachers picking presentation slots, families dividing weekend chores, pub quiz teams naming a designated answerer — anywhere a group of two to six needs a decision that nobody has to own, the pattern is the same. Name the options, attach a color to each, roll, move on.
Beyond decisions, the dice anchors whole games. "Roll and hunt" works with kids of almost any age: roll a color, and everyone has ten seconds to touch something in the room of that color — last one back does a silly dance. "Color chain" has each player roll and name something of that color within five seconds; repeat an answer or freeze and you are out, which is surprisingly hard by the fourth round because yellow is a harder category than it looks. A storytelling version asks each player to roll and work the color into the next sentence of a shared story, which produces plot twists no game master would dare write. Preschool PE teachers map each face to an animal movement for warm-ups — red means stomp like a bear, blue means waddle like a penguin — and get six exercises out of one button.
Dungeon Masters and the NPC wardrobe problem
D&D groups have adopted the color dice for two very different jobs. The first is the messiest problem in the hobby: dividing loot. When the dragon's hoard contains exactly one +2 longsword and five party members who all "totally need it for their build," nobody's speech about class synergy survives contact with a random roll. Assign each claimant a color, roll once, done. Several groups roll a full color order at the start of each session for the loot queue — red picks first from the haul, then orange, then yellow, and so on down the party. It converts a twenty-minute negotiation into a ninety-second ceremony, which matters when the session is four hours long and the dungeon is three levels deep.
The second job is more creative. Dungeon Masters improvise constantly — a player asks what the innkeeper is wearing, and the DM needs an answer that sounds deliberate, right now. Rolling a color and describing the NPC's scarf, doublet or cloak in that hue gives the world a texture that "uh, some kind of tunic" never manages. Better yet, some DMs build the detail into the mystery: roll at the table, note that the three merchants in the market square wore yellow, green and red, and if a player remembers three sessions later that the poisoner wore yellow — well, that was never a coincidence, or maybe it was, but either way the dice made it feel authored. Players who enjoy palette-based character tools get a kick out of it too: roll three times for a character's hair, eyes and favored clothing color, and you have an instantly non-generic description that no pregen sheet would have given you. If you want the fuller write-up of dice-at-the-table rituals, the dedicated online color dice page goes deep on loot queues, streaming segments and classroom routines.
In the classroom: color recognition with a probability lesson smuggled inside
A kindergarten teacher sent us the best use case we have heard. She runs a twenty-minute color-recognition block every morning with her class of twenty-two four-year-olds, and the dice is the star of it. One child taps the big roll button on the interactive whiteboard, the whole room shouts the color name together, and a helper adds a tally mark to the chart taped to the wall. Over twenty minutes they typically get through about forty rolls, so each of the six colors should appear roughly six or seven times. It never works out exactly — and that mismatch is the second lesson hiding inside the first one.
The hidden lesson is probability. The last time she ran it, red came up eleven times and blue only twice, and the class was genuinely outraged on blue's behalf. So they kept rolling — twenty more rolls the next morning — and watched the bars on the statistics chart slowly level out. By Friday, roughly three hundred rolls in, every color sat within a few tallies of the others. No worksheet on Earth teaches the law of large numbers that convincingly, and the kids do not even notice the math happening. Older students run the same experiment as a data exercise: collect sixty rolls, build the frequency chart by hand, compare it to the theoretical expectation of ten per color, and discuss why the two never match exactly. The gap between "expected" and "observed" is where the actual mathematics lives — and for a six-sided dice, the natural wobble works out to roughly the square root of the roll count divided by six, so a spread of a few counts around the expectation at sixty rolls is boring, not broken.
Randomness as a design tool, not a design flaw
Designers use the dice for the opposite reason they settle arguments with it — not to end debate, but to break habits. A branding workshop we heard about runs a constraint exercise where eight designers each get fifteen minutes to sketch a poster, and the palette is dictated by the dice: no swaps, no vetoes, no "can I just tweak this slightly." Roll once for the dominant color, roll again for the accent, and if both rolls land on the same face you are doing a monochrome piece and you will be gracious about it. Six base colors across two rolls produce thirty-six possible pairings, and nobody at the table can guess which one they are about to be stuck with. The facilitator swears the randomness is the entire point: designers who would never voluntarily put orange next to purple produce their most interesting work in twenty minutes of forced discomfort.
For a wider palette, use the dice as a seed rather than the whole answer. Roll for a base color, copy its HEX code straight off the result, then nudge the hue forty degrees in either direction inside your design tool — suddenly you have a twelve-color rotation with the randomness still doing the hard part, which is choosing. Some teams run three of these sprints back to back: forty-five minutes, three posters, three palettes nobody chose. They report that it unsticks a creative block faster than any mood board ever pinned. The dice has no taste and no opinions about your portfolio. That is precisely its value.
Color-blind friendly by accident — and by intention
Here is a detail most color tools get wrong and this one gets right. Roughly 8 percent of men and about 0.5 percent of women have some form of red-green color vision deficiency, which means in any classroom of thirty students, statistically one or two of them cannot reliably distinguish a red face from a green or orange one. A physical color dice that only shows swatches is quietly unusable for those players — six colors collapse into three or four. This tool never has that problem, because the result is announced as text alongside the swatch: the color name and the HEX code arrive as words, readable by anyone, plus announced to screen readers the same way. Red is not just a red rectangle; it is the word "Red" and the string #FF0000, and neither of those depends on cone cells working perfectly.
If you are designing your own color-based game or interface, that pattern is worth stealing: never encode meaning in color alone. Pair every colored element with a text label, a shape, or a pattern. It costs almost nothing to add, and it covers the one in twelve men in your audience. The dice's own design follows the same rule — high-contrast faces, names always printed, not implied.
Other color tools on this site
If six colors are not quite the right shape for what you need, the rest of the site is a click away. The online color dice page is the long-form guide to virtual dice rolling — game night rituals, streaming segments, classroom experiments and the statistics behind fairness. The color dice roller wraps the same mechanic for quick repeated rolls when you want speed over ceremony. When six options are not enough, the random color generator draws from the full 16,777,216 colors a screen can display — the workshop palette trick above works even better with that kind of range. And if your group would rather watch a wheel spin down than a cube tumble, the color spinner wheel covers the same six colors with a slower, more dramatic reveal.
Everything runs on your device. There is no signup, no download, and nothing to install — the dice is pure HTML and CSS, it works on phones, tablets and desktops alike, and it will always be free. Bookmark this page and your color dice is always exactly one tab away — sturdier than any cube in a drawer, and it will never roll under the sofa.
Frequently Asked Questions
What is a color dice?+
A color dice is a six-sided die whose faces show colors instead of numbers. Each face carries one color — red, orange, yellow, green, blue and purple — so a single roll picks one of six colors at random. This site offers a free online version with a 3D animated dice and instant HEX readout.
Is the online color dice really random?+
Yes. Every roll uses your browser's built-in random number generator to pick one of the six faces with an equal 1-in-6 chance, the same fairness as a well-made physical die. The statistics panel lets you verify this yourself: the more you roll, the closer the six counts drift toward an even split.
What are the odds of each color coming up?+
Every face has the same probability on every roll: one in six, or about 16.7 percent. Each roll is independent, so a color that just came up is exactly as likely to come up again — streaks are normal. Over many rolls the counts even out toward equal totals, which the statistics bar chart shows happening in real time.
How can I use a color dice in games?+
Use it anywhere you need a fair pick between up to six options: assigning player or team colors, deciding who goes first, choosing a category in drawing games, or setting improvisation prompts. Games like roll-and-hunt (touch something of the rolled color in ten seconds) and color chain (name an object of that color in five seconds or you're out) work with nothing but the dice and a room.
What does the HEX code in the result mean?+
HEX is the standard way colors are written for screens: a six-character code where two digits each set the red, green and blue channels, from #000000 (black) to #FFFFFF (white). Every result on this page comes with its code — red is #FF0000, orange #FFA500, purple #800080 — so you can paste it straight into CSS, Figma, or any design tool without conversion.
Why only six colors when screens can show sixteen million?+
Six is what a fair cube can carry, and it is a sweet spot for group decisions — enough variety to feel random, few enough that every face is an outcome somebody wanted. When you need the full 24-bit palette of 16,777,216 colors, use our random color generator instead; it draws from every color a screen can display and hands over the HEX code the same way.
Can I use the color dice for D&D or tabletop roleplaying?+
Yes, and two uses stand out. For loot disputes, assign each claimant a color and roll once — or roll a full color order at session start for the pick queue. For improvisation, Dungeon Masters roll a color to instantly decide an NPC's clothing, banner or trinket hue, which makes improvised descriptions feel deliberate and even seeds clues players remember sessions later.
Is the dice usable for color-blind players?+
Yes. Around 8 percent of men have some form of red-green color vision deficiency, and a dice that only shows colored swatches would be hard for them to read. This tool always announces the result as text — the color name and HEX code — so the outcome never depends on distinguishing swatches, and it works with screen readers too.
Do my roll statistics get saved?+
The statistics panel keeps a running tally in your own browser — how many times each color has appeared, drawn as a bar chart — and nothing is uploaded to any server. It persists between visits on the same device and browser, so a week-long classroom experiment keeps its count. Press the reset button any time to wipe the tally and start fresh.
Do I need to install anything or sign up?+
No. The dice is built with plain web technology and runs directly in your browser on any modern phone, tablet or computer. There is no account, no download and no roll limit — once the page has loaded, rolls keep working even if your connection drops, because everything runs locally on your device.
Related Color Tools
- Online Color Dice
- Color Dice Roller
- Pick a Random Colour
- 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