Developer
Hex Hue
Can you read a hex colour code? Match 10 colours to their codes, and codes to their colours.
- Keyboard
- Touch
Flip bits to build each number in binary. How many can you make in 60 seconds?
Make this number–
0 = 0x00 = 0b00000000
Flip bits to make each number before the minute is up.
Click a bit, or press 1 to 8 (left to right), to flip it. The number under each bit is what it is worth.Tap a bit to flip it. The number under each bit is what it is worth.
Computers store every number as bits: switches that are either 0 or 1. Each bit is worth twice the one to its right, so eight bits can make any whole number from 0 to 255. Bit Flip turns reading and writing binary into a sprint.
A number appears; flip the bits that add up to it. Get it right and the next one appears straight away. You have 60 seconds. It is a quick, satisfying way to learn binary, practise for an exam or a networking course, or warm up before writing low-level code.
| Flip a bit | Number keys 1 to 8, left to right, or click it |
|---|---|
| Move between bits | Tab, then Space or Enter to flip |
| Pause and resume | P (Esc also pauses) |
| New round | N |
| Sound on or off | M |
| Flip a bit | Tap it |
|---|---|
| Pause or start again | Buttons above the bits |
Bits are read from left to right, most significant first. In 8 bits the place values are 128, 64, 32, 16, 8, 4, 2 and 1. A number is the sum of the place values of the bits that are on: 173 is 128 + 32 + 8 + 4 + 1, written 10101101.
At the Hex level, targets are written in base 16, as programmers often write bytes: 0x00 to 0xFF. Each hex digit stands for four bits, so 0xAD is 1010 followed by 1101. The line under the bits always shows your current value in decimal, hex and binary.
Each number you make scores one point. A round lasts 60 seconds and the clock stops while the game is paused, when the number is hidden. Targets are picked at random, never zero and never the same number twice in a row.
Your best score and the number of rounds you have played at each level are saved in this browser on this device.
Start from the biggest place value. If it fits into the number, turn that bit on and subtract it; otherwise leave it off. Repeat with each smaller place value until nothing is left.
255, with every bit on: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. In hex that is 0xFF.
Yes. It is the same skill used in computer science classes, networking (subnet masks) and low-level programming, practised quickly and repeatedly. Start at 4 bits and move up.
Developer
Can you read a hex colour code? Match 10 colours to their codes, and codes to their colours.
Developer
A typing test for programmers: type real JavaScript, Python, Rust and SQL code against the clock.
Puzzle
Fill the grid so every row, column and box holds 1 to 9. Four levels, pencil notes, hints and your progress saved as you go.