Convert strings to hex colors