to convert from hex to decimal, multiply the rightmost digit by 16^0, the second right-most by 16^1, etc etc etc.
15 * 16^0 = 15
15 * 16^1 = 240
240 + 15 = 255
to go from binary to hex, take the binary digits in groups of 4 starting from the right. convert each group of 4 to a hex value. if you have less than 4 digits left, add leading zero's.
eg:
1110100101011
1011 = 11 (B)
0010 = 2
1101 = 13 (D)
0001 = 1
1110100101011 = 1D2B