Validate HTML hex color string