Hex Guess Game: read a color code like a designer
Every developer has pasted #3A7BD5 into a stylesheet without knowing what it looks like until the page reloads.
Every designer has eyeballed a swatch and typed a hex code that came out a shade too green. The hex guess game trains the skill in between: looking at a color and knowing its code, or reading a code and knowing the color.
You get six rounds a day. Some rounds show you a swatch and ask for its hex code. Others give you a code and ask you to find the color behind it. The day’s score is out of 600.
How to play
Everyone gets the same six rounds each day, and they take turns. In rounds 1, 3 and 5 you see a color and type its hex code on the keypad or your keyboard, three or six digits. In rounds 2, 4 and 6 you see a hex code and tap the color it makes. There is no clock.
Every round is worth up to 100 points, by how close your answer looks to the real color. Exact, or too close to tell apart, is 100. In the pick rounds the wrong colors are the code misread: two channels swapped, a channel's two digits flipped, or a channel or two nudged. They get closer as the day goes on, so a wrong pick late in the day still earns some points.
Reading a code: #RRGGBB is red, green and blue, each from 00 to FF. The first digit of each pair counts sixteen times more than the second. Whichever channel is highest leads the color; two high together make yellow, cyan or magenta; three close together make a gray.
New colors arrive at midnight your time. Your streak is saved in this browser only, and any finished day keeps it going, whatever your score.
How to play
Each round is one of two kinds.
In a swatch round, you see a color and enter the hex code you think it is. You’ll rarely hit it exactly. The goal is to get the red, green and blue values as close as you can.
In a code round, you see a hex code and find the color it describes. This is the one developers tend to find easier, because they read codes all day. It’s also where a lot of them discover that their mental image of #8B5A2B is nowhere near the real thing.
Then you come back tomorrow for a new set.
How a hex code works
A hex code is three numbers stuck together. #3A7BD5 splits into 3A, 7B and D5: the amounts of red, green and blue, in that order.
Each pair is a number from 00 to FF in base 16, which counts 0 to 9 and then A to F. 00 means none of that channel, FF means the full amount (255 in ordinary numbers). So #FF0000 is pure red, #00FF00 is pure green, #000000 is black and #FFFFFF is white. With 256 levels per channel, the system covers 16,777,216 colors.
The first digit of each pair matters 16 times more than the second. #3A and #3F are almost the same amount of red. #3A and #9A are not. When you guess, get the first digits right and treat the second ones as fine tuning.
Some codes use a three-digit shorthand. #F80 is the same as #FF8800: each digit is doubled.
Reading a code at a glance
You can decode most hex colors in a few seconds with four checks.
Look for the biggest pair. The channel with the highest value sets the basic hue. In #D5 7B 3A, red is highest, so the color is somewhere in the red-orange range. In #3A 7B D5, blue wins, so it’s a blue.
Look for two high pairs. When two channels are high and one is low, you get a secondary color. Red plus green makes yellow (#FFFF00), green plus blue makes cyan (#00FFFF), red plus blue makes magenta (#FF00FF). #E0C040 is a warm yellow for that reason.
Check how close the three pairs are. If all three values are equal, the color is a grey: #777777, #C0C0C0, #2B2B2B. The further apart they are, the more saturated the color. #8B7B6B is muted because its pairs are only 16 apart in each step. #FF4000 is intense because the gap is huge.
Add the values up for lightness. High numbers across the board mean a light color, low numbers mean a dark one. #F0E6D2 is a pale cream. #2A1F14 is a near-black brown.
Run #3A7BD5 through those checks: blue is highest, green is middling, red is low, the spread is wide and the total is moderate. The result is a medium, fairly saturated blue, leaning slightly toward cyan because green is higher than red.
Why your eye and the numbers disagree
Hex values aren’t evenly spaced the way your eye sees them. #808080 is exactly halfway in the numbers, but it looks lighter than a true middle grey. The grey that most people judge as halfway between black and white is closer to #777777.
Green also carries far more visual weight than blue. #00FF00 and #0000FF are both one channel at full strength, and the green looks dramatically brighter. In swatch rounds, bright greens tempt you to guess too high on the other channels, and so do saturated blues, which glow on screen while their numbers stay modest.
Screens add their own drift. Night modes and cheap panels both shift colors, so a swatch on your phone may not match the same code on your laptop. The game can’t fix that, but it helps to play on the same device so your results stay consistent.
Worked example: a swatch round
The swatch is a muted blue-green, the color of an old pool tile.
Start with hue. It sits between green and blue, so red is the low channel and green and blue are both up. Next, saturation: the color is muted, so red can’t be zero.
Grey is mixed in, which means all three channels are closer together than a pure teal would have them. Last, lightness: it’s a medium tone, so nothing near FF and nothing near 00.
A reasonable guess is #4A8C8C: red at 4A, green and blue at the same 8C.
The answer is #4F8A94. Red was off by 5, green by 2, blue by 8. The guess missed that blue sits slightly above green, so the real color leans a touch toward blue, but every first digit was right. That’s a high-scoring round.
Who this is for
Front-end developers who live in CSS will get faster at spotting a wrong value in code review. When #F5F5F5 shows up where #FAFAFA should be, you’ll know which one is lighter without opening a color picker.
Designers will get better at writing down a color from a reference, a client photo or a screenshot, before reaching for an eyedropper.
And for anyone working on a home project, hex codes are how most digital palettes are shared.
If you find a palette online and want the real paint, the hex to paint color tool matches a code to paint brands, and our guide on matching a hex code to a real paint color explains why the match is never perfect. To pull hex codes out of a photo of a room you like, try palette from photo.
Tips to score higher
Guess in order: hue, then saturation, then lightness. Trying to pull six digits out of a swatch in one go almost never works.
Memorize a few anchors. #FF0000, #FFA500 (orange), #FFFF00, #008080 (teal), #800080 (purple) and #808080 give you landmarks to adjust from.
Commit to the first digits and let the second digits stay rough. A 3 versus a 5 in the first position matters a lot. A 3 versus a 5 in the second barely registers.
Watch for grey. If a swatch looks muted, pull the three channels toward each other before you type.
For related practice, Color Mixing Game and Gradient Midpoint work on the same sense of how colors combine. The full set is on the color games page.
FAQ
How many rounds are there each day?
Six rounds. Some ask for the hex code of a swatch, others ask you to find the color behind a code.
How is the game scored?
Each day’s six rounds are scored out of 600 in total.
Do I need to know hex codes already?
No. The four decoding checks above are enough to get started, and the daily rounds do the rest.
Are hex codes case-sensitive?
No. #ff8800 and #FF8800 are the same color.
What’s the difference between hex and RGB?
They describe the same thing. #FF8800 is rgb(255, 136, 0) written in base 16. Hex is shorter, which is why it’s the default in CSS and most design tools.
Why does the same hex code look different on two screens?
The code is fixed, but each screen renders it with its own brightness and color profile. Calibrated monitors get close to each other. Phones in night mode don’t.

