19.5.46 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 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]

Attributes

s (Saturation)

Specifies a saturation as a percentage. The values are in the range [-100%, 100%].

The possible values for this attribute are defined by the ST_FixedPercentage simple type (20.1.10.24).

l (Lightness)

Specifies a lightness as a percentage. The values are in the range [-100%, 100%].

The possible values for this attribute are defined by the ST_FixedPercentage simple type (20.1.10.24).

h (Hue)

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

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TLByHslColorTransform) is located in A.3. end note]

Last updated on