# 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: + + + + + + + + + + + + + + + + + + +
binaryhexdec
000000
000111
001022
001133
010044
010155
011066
011177
100088
100199
1010a10
1011b11
1100c12
1101d13
1110e14
1111f15
& * 0000 is 0 & * 0001 is 1 & * 0010 is 2 & * 0011 is 3 & * 0100 is 4 & * 0101 is 5 & * 0110 is 6 & * 0111 is 7 & * 1000 is 8 & * 1001 is 9 & * 1010 is a & * 1011 is b & * 1100 is c & * 1101 is d & * 1110 is e & * 1111 is f # 24 bits 24 bits correspond to: * 3 bytes * 4 {base64} digits * 6 hexadecimal digits * 8 {octal} digits