Hex Digit Reference

HexDecBinaryHexDecBinary
000000881000
110001991001
220010A101010
330011B111011
440100C121100
550101D131101
660110E141110
770111F151111

Why Hex?

One hex digit = exactly 4 bits. One byte (8 bits) = exactly 2 hex digits. This makes hex the perfect shorthand for binary data. The binary sequence 11111111 10101010 becomes FF AA in hex—shorter, easier to read, and directly translatable back.

Where You'll See Hex

CSS/HTML colors: #FF0000 is red, #00FF00 is green, #0000FF is blue. Shorthand: #F00 = #FF0000.

Memory addresses: 0x7FFF0001 is more readable than its 32-bit binary equivalent.

Unicode code points: U+1F600 (😀), U+0041 (A), U+4E2D (中).

MAC addresses: AA:BB:CC:DD:EE:FF—6 bytes in hex-pair notation.