Group binary digits into sets of 4, convert each group to hex
Binary 11111111 equals FF in hexadecimal (255 in decimal).
Group the binary digits into sets of 4 from right to left, then convert each group: 0000=0, 0001=1, ..., 1010=A, ..., 1111=F.