Accept # in hex input