Interactive Demo — Number Systems

Byte Register

Click bits to toggle them on and off. Watch how the same 8 switches read differently in binary, decimal, and hex — then test yourself in Convert mode.

Live Register Byte 0
Binary
00000000
Decimal
0
Hex
0x00
Color Picker click a value to copy it
#F0A500
Hex
#F0A500
RGB
rgb(240, 165, 0)
CMYK
cmyk(0%, 31%, 100%, 6%)
HSV
hsv(41°, 100%, 94%)
HSL
hsl(41°, 100%, 47%)
Convert Mode Streak: 0 · Solved: 0
Convert this value: —
Key Concepts
📍
Place Value
Each bit represents a power of 2 — 128, 64, 32, 16, 8, 4, 2, 1 from left to right. Add up the "on" positions to get the decimal value.
🔢
One Byte, 256 Values
8 bits gives you 2⁸ = 256 possible combinations — 0 through 255. That's the range of a single byte.
🎯
Hex Shortcuts Binary
Each hex digit maps exactly to 4 bits (a nibble), so a byte is always exactly 2 hex digits — that's why hex shows up everywhere in computing.