ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LegendClass Class / ColorXML Property

ColorXML Property
Gets the color represented as string in XML.
Syntax
public string ColorXML {get;}
Remarks
Can be null or empty string depending on the legend
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also