<colorsDef> (Color Transform Definitions)

This element is the root element for color transforms. Held within this element are all of the available color transforms themselves along with other elements and attributes associated with defining the general color transform properties and attributes.

example:
<dgm:colorsDef xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/3/diagram" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/3/main" uniqueId="urn:microsoft.com/office/officeart/2005/8/colors/accent0_3" minVer="12.0">
	<dgm:title lang="" val=""/>
	<dgm:desc lang="" val=""/>
	<dgm:catLst>
	<dgm:cat type="mainScheme" pri="10300"/>
	</dgm:catLst>
	<dgm:styleLbl name="node0">
	...
	</dgm:styleLbl>
	...
</dgm:colorsDef>

In this example we see a sampling of a <colorsDef> being defined with a number of <styleLbl> elements held within the <colorsDef>. ]

Parent Elements

Root element of DrawingML Diagram Colors part

Child Elements

Subclause

<catLst> (Color Transform Category List)

§5.9.4.2

<desc> (Description)

§5.9.4.6

<extLst> (Extension List)

§5.9.2.13

<styleLbl> (Style Label)

§5.9.4.10

<title> (Title)

§5.9.4.11

Attributes

Description

<minVer> (Minimum Version)

The minimum product version that can support this color transform.

<colorsDef uniqueId="urn:colors/accent0_3" minVer="12.0">
...
</colorsDef>

In this example we see the @minVer set to 12.0. ]

The possible values for this attribute are defined by the XML Schema string datatype.

<uniqueId> (Unique ID)

A unique id associated with the color transform definition.

<colorsDef uniqueId="urn:colors/accent0_3" minVer="12.0">
...
</colorsDef>

In this example we see the @uniqueId set to urn:colors/accent0_3. ]

The possible values for this attribute are defined by the XML Schema string datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_ColorTransform">
	<sequence>
	<element name="title" type="CT_CTName" minOccurs="0" maxOccurs="unbounded"/>
	<element name="desc" type="CT_CTDescription" minOccurs="0" maxOccurs="unbounded"/>
	<element name="catLst" type="CT_CTCategories" minOccurs="0"/>
	<element name="styleLbl" type="CT_CTStyleLabel" minOccurs="0" maxOccurs="unbounded"/>
	<element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="uniqueId" type="xsd:string" use="optional" default=""/>
	<attribute name="minVer" type="xsd:string" use="optional" default="http://schemas.openxmlformats.org/drawingml/2006/diagram"/>
</complexType>