RgbColor Class

RGB Color.When the object is serialized out as xml, its qualified name is x:rgbColor.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Class RgbColor _
    Inherits OpenXmlLeafElement
Dim instance As RgbColor
public class RgbColor : OpenXmlLeafElement


[ISO/IEC 29500-1 1st Edition]

18.8.34 rgbColor (RGB Color)

A single ARGB entry for the corresponding color index.

Parent Elements

indexedColors (§18.8.27)



rgb (Alpha Red Green Blue)

Color value expressed in Alpha Red Green Blue format (ARGB).

The possible values for this attribute are defined by the ST_UnsignedIntHex simple type (§18.18.86).

[Note: The W3C XML Schema definition of this element’s content model (CT_RgbColor) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


RgbColor Members

DocumentFormat.OpenXml.Spreadsheet Namespace