[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

hsl (HSL)

This element specifies an incremental HSL (Hue, Saturation, Lightness) value to add to a color animation.

[Example: Consider a shape with a lightening emphasis animation. The <hsl> element should be used as follows:

<p:animClr clrSpc="hsl">

<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:hsl h="0" s="0" l="0"/>

</p:by>

</p:animClr>

End Example]

Parent Elements

by4.6.21)

 

Attributes

Description

h (Hue)

Specifies hue as an angle. The valid values range from [0, 360] degrees.

 

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

l (Lightness)

Specifies a lightness as 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).

s (Saturation)

Specifies a saturation 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_TLByHslColorTransform">

   <attribute name="h" type="a:ST_Angle" use="required"/>

   <attribute name="s" type="a:ST_FixedPercentage" use="required"/>

   <attribute name="l" type="a:ST_FixedPercentage" use="required"/>

</complexType>