Hexadecimal numbers can be very easily converted to binary numbers and vice versa.
Basically everyone, who has to work with binary numbers has a cheat sheet on the monitor which says:
0000 = 0
0001 = 1
...
1111 = F
You convert one hex digit to four binary digits.
Example:
0x1A5F = 0001 1010 0101 1111
Hexadecimal is the easiest way to write down binary numbers in a compact format.