convert hex char to binary string.