<animClr> (Animate Color Behavior)

This animation element is responsible for animating the color of an object.

<p:animClr clrSpc="rgb">
    <p:cTn id="1" dur="2000" fill="hold"/>
      <p:spTgt spid="1"/>
    <a:schemeClr val="accent2"/>

Parent Elements

<childTnLst>4.6.25); <subTnLst>4.6.78); <tnLst>4.6.87)

Child Elements


<by> (By)


<cBhvr> (Common Behavior)


<from> (From)


<to> (To)




<clrSpc> (Color Space)

This attribute specifies the color space in which to interpolate the animation. Valid values for example can be HSL & RGB.


The values for from/to/by/etc. can still be specified in any supported color format without affecting the color space within which the animation happens.


The RGB color space is best used for doing animations between two different colors since it doesn't require going through any other hues between the two colors specified. The HSL space is useful for animating through a rainbow of colors or for modifying just the saturation by 30% for example.

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

<dir> (Direction)

This attribute specifies which direction to cycle the hue around the color wheel. Valid values are clockwise or counter clockwise. Default is clockwise.

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

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

<complexType name="CT_TLAnimateColorBehavior">
	<element name="cBhvr" type="CT_TLCommonBehaviorData" minOccurs="1" maxOccurs="1"/>
	<element name="by" type="CT_TLByAnimateColorTransform" minOccurs="0" maxOccurs="1"/>
	<element name="from" type="a:CT_Color" minOccurs="0" maxOccurs="1"/>
	<element name="to" type="a:CT_Color" minOccurs="0" maxOccurs="1"/>
	<attribute name="clrSpc" type="ST_TLAnimateColorSpace" use="optional"/>
	<attribute name="dir" type="ST_TLAnimateColorDirection" use="optional"/>