Hex color parsing fix