# hexadecimal numeral system in base 16: it uses 16 digits, from 0 to 9 and from 'a' to 'f'. there's a direct mapping between each possible combination of 4 bits (nibble), and an hexadecimal (hex) digit: +
binary | hex | dec |
---|---|---|
0000 | 0 | 0 |
0001 | 1 | 1 |
0010 | 2 | 2 |
0011 | 3 | 3 |
0100 | 4 | 4 |
0101 | 5 | 5 |
0110 | 6 | 6 |
0111 | 7 | 7 |
1000 | 8 | 8 |
1001 | 9 | 9 |
1010 | a | 10 |
1011 | b | 11 |
1100 | c | 12 |
1101 | d | 13 |
1110 | e | 14 |
1111 | f | 15 |