Fix string to color conversion.