CustomColor class
Custom color. When the object is serialized out as xml, its qualified name is a:custClr.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.CustomColor
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
custClr (Custom color)
This element defines a custom color. The custom colors are used within a custom color list to define custom colors that are extra colors that can be appended to a theme. This is useful within corporate scenarios where there is a set corporate color palette from which to work.
Parent Elements |
|---|
custClrLst (§20.1.6.3) |
Child Elements | Subclause |
|---|---|
hslClr (Hue, Saturation, Luminance Color Model) | §20.1.2.3.13 |
prstClr (Preset Color) | §20.1.2.3.22 |
schemeClr (Scheme Color) | §20.1.2.3.29 |
scrgbClr (RGB Color Model - Percentage Variant) | §20.1.2.3.30 |
srgbClr (RGB Color Model - Hex Variant) | §20.1.2.3.32 |
sysClr (System Color) | §20.1.2.3.33 |
Attributes | Description |
|---|---|
name (Name) | The name of the color shown in the color picker. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
[Note: The W3C XML Schema definition of this element’s content model (CT_CustomColor) is located in §A.4.1. end note]
© ISO/IEC29500: 2008.