Converts between hexadecimal, decimal and binary numbers.