You roll five random colors and one of them is perfect. The other four are mud, near-black, and two shades of nothing you would ever use. Roll again and the perfect one vanishes with the rest, replaced by five new strangers. That is the moment most people give up on random colors, and it is exactly the moment the lock exists for.
The Random Color Generator on Ovatly rolls five colors at a time and puts a lock on every slot. Used casually, it is a slot machine. Used as a discipline, lock and reroll, it is a way to build a set one keeper at a time. This guide teaches that workflow properly: how to judge a roll, when to lock, when to release, and when to stop and copy your colors out.
Contents
- Quick answer
- What one slot actually is
- The discipline: judge every slot on its own
- How to lock and reroll, step by step
- Worked example: what one draw is made of
- When to stop rolling
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
Open the Random Color Generator, click Generate random colors, and judge each of the five slots on its own: keep or release. Lock every keeper so it holds its exact value, then roll again so only the unlocked slots change. Repeat until the five slots hold a set worth keeping, then copy a single color or all five at once, before you leave the page, because nothing is saved when you leave.
What one slot actually is
Each slot is an independent draw from the whole RGB color space. The tool draws three bytes using the browser cryptographic random generator and formats them as a hex color, so a slot is not chosen, curated or adjusted in any way. It is whatever the draw produced.
That independence is the key fact about the tool. The five slots do not know about each other. Nothing in a roll is trying to match, contrast or harmonize with its neighbors, which is why a raw roll so rarely looks like a palette. The lock is the only coordinating force in the tool, and it belongs to you: your judgement about which slots deserve to stay.
The discipline: judge every slot on its own
The workflow fails when you judge the roll as a whole. A roll of five strangers will almost always look wrong as a group, and if the group is your standard, you will reroll forever and keep nothing. Judge each slot separately instead, against a simpler question: would I keep this color if it arrived alone?
A keeper does not have to be beautiful in the abstract. It has to be a color you would not have typed yourself, that fits the job in front of you: a starting blue for a project, a warm tone you keep coming back to, an odd green that is wrong for everything except the thing you are working on. Everything else gets released without regret. Muddy and very dark colors are not a malfunction to wait out; the draws are uniform across the whole RGB space, so most rolls include them. Expect them, release them, and keep rolling.
How to lock and reroll, step by step
- Open the Random Color Generator and click Generate random colors for the first roll.
- Go slot by slot. For each color, decide: keep or release. Do not evaluate the five as a set.
- Lock every slot whose color you want to keep. A locked slot keeps its exact value across rolls until you unlock it.
- Roll again. Only the unlocked slots change, so each new roll is judged against a smaller and smaller number of open slots.
- If a locked color stops earning its place as the set develops, unlock it and let it rejoin the draw.
- When all five slots hold colors worth keeping, copy them out: a single color, or all five at once.
- Copy before you leave the page. Nothing is saved when you leave, so an uncopied set is a lost set.
Worked example: what one draw is made of
The tool's own example shows what a single slot really is. Each slot draws three bytes from crypto.getRandomValues and formats them as a hex color: bytes 37, 99 and 235 become #2563EB, displayed with its rgb(37, 99, 235) value.
Read that slowly, because it explains everything about the workflow. The color was not picked for its qualities. Three bytes came out of a cryptographic draw, and the hex code is just those bytes written down. If those bytes land on a blue you love, the lock is how you keep the accident. If they land on mud, the reroll is how you ask for three new bytes. Every roll is an independent draw, so the slot owes you nothing and remembers nothing.
When to stop rolling
Stop when the five slots hold a set you would copy, not when they hold a finished palette. Random sets are not color harmonies, and no amount of locking changes that: five locked keepers are five colors you chose to keep, not five colors that were designed to belong together. Coordination is a separate step, done afterwards with the harmony and scale tools.
Stopping also protects the keepers you already have. Every reroll with a slot unlocked is a chance to lose a color you liked in exchange for a fresh unknown. Once a slot earns its lock, leave it locked unless the developing set gives you a concrete reason to release it.
Limitations and honest tradeoffs
Nothing is saved when you leave the page. Locked slots hold only while the page is open, so the copy step is not housekeeping, it is the only persistence the tool has.
The draws are uniform across the whole RGB space, which means the odds are honest and mostly unhelpful: muddy and very dark colors dominate the space, so they dominate the rolls. You will release far more colors than you lock. That is the price of genuine randomness, and the alternative, a generator quietly biased toward pretty colors, would be a curated palette tool wearing a random costume.
Repeats and near-repeats are part of the same honesty. With 16.7 million possible colors, exact repeats are rare, but similar colors in one batch of five are common and expected from independent draws. A near-repeat is not a pattern, a glitch or a sign; it is chance, and it carries no meaning.
Common mistakes
- Judging the roll as a set. Five independent draws almost never look coordinated. Judge each slot alone, or you will release keepers for failing a test the tool never set.
- Rerolling with keepers unlocked. One hopeful roll can erase the only good color you found. Lock first, then roll.
- Locking everything early. A locked set of five mediocre colors ends the session as surely as a bad roll. Lock only what earned it.
- Never unlocking. A color that looked right alone can be wrong for the set that grew around it. The lock is a decision, not a vow.
- Leaving without copying. Nothing is saved when you leave the page. If you did not copy it, you do not have it.
FAQs
What does locking a color actually do? A locked slot keeps its exact value across rolls until you unlock it. Only the unlocked slots change on the next roll, so locking is how you hold a keeper still while the rest of the set keeps moving.
How many colors does one roll give me? Five colors at a time. You can copy a single color, or copy all five at once once the set is worth keeping.
Why do most rolls include muddy or very dark colors? The draws are uniform across the whole RGB space, with no preference for pretty regions of it. Most of that space is muddy or very dark, so most rolls show it. That is what honest randomness looks like.
Two slots came out almost the same color. Is the tool broken? No. Every roll is an independent draw, so repeats and near-repeats happen by chance and carry no meaning. With 16.7 million possible colors, exact repeats are rare, but similar colors in one batch of five are common and expected.
Are my locked colors saved if I close the page? No. Nothing is saved when you leave the page. Copy a single color, or all five at once, before you go, or the set is gone.
Conclusion
Lock and reroll turns a slot machine into a sieve: roll five, judge each slot on its own, lock the keepers, and let the rest fall through until what remains is worth copying out of the Random Color Generator. What you end with is a set of colors you chose, not a palette that agrees with itself. For why that agreement is missing, and what to do about it, see our explainer on why random colors usually look ugly together. For more guides in this series, see our Color and Design Tools guides.