fixed code to handle colorWithHexColorString