Hexadecimal is used because it is a lot shorter than binary so is easy to remember. Hexadecimal is base 16 and goes up in this order:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Hexadecimal
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 Denary equivalent
For example
11111111 in binary would be 255 in denary and FF in hexadecimal
The First F represents the amount of 16s, so there would be 15 16s, and the second F represents the single number which would be 15. Therefore altogether it comes out as 255.
Example
Binary = 01010101
Denary = 85
5*16=80 +5=85
hex = 55