[Table of Contents] [docx version]
PresentationML Reference Material - Table of Contents
The element specifies an incremental RGB value to add to the color property.
[Example: Consider a shape with a color emphasis animation. The <rgb> element should be used as follows:
<p:animClr clrSpc="rgb">
<p:cBhvr>
<p:cTn id="8" dur="500" fill="hold"/>
<p:tgtEl>
<p:spTgt spid="4"/>
</p:tgtEl>
<p:attrNameLst>
<p:attrName>stroke.color</p:attrName>
</p:attrNameLst>
</p:cBhvr>
<p:by>
<p:rgb r="10" g="20" b="30"/>
</p:by>
</p:animClr>
End Example]
Parent Elements |
by (§4.6.21) |
Attributes |
Description |
b (Blue) |
This attribute specifies a blue as a fixed percentage in 1000ths of a percent. The valid values range from [-100%, 100%].
The possible values for this attribute are defined by the ST_FixedPercentage simple type (§5.1.12.22). |
g (Green) |
This attribute specifies a green as a fixed percentage in 1000ths of a percent. The valid values range from [-100%, 100%].
The possible values for this attribute are defined by the ST_FixedPercentage simple type (§5.1.12.22). |
r (Red) |
This attribute specifies a red as a fixed percentage in 1000ths of a percent. The valid values range from [-100%, 100%].
The possible values for this attribute are defined by the ST_FixedPercentage simple type (§5.1.12.22). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TLByRgbColorTransform">
<attribute name="r" type="a:ST_FixedPercentage" use="required"/>
<attribute name="g" type="a:ST_FixedPercentage" use="required"/>
<attribute name="b" type="a:ST_FixedPercentage" use="required"/>
</complexType>