...
The hexidecimal (base 16) system is similar, except that each digit represents a power of 16 in that place.
Because a digit can have values greater than 9, there are additional digit values allowed in hex: A(10), B(11), C(12), D(13), E(14) and F(15).
To convert a decimal number to hex, you remove multiples of those powers of 16 as shown below.
...