20.1.2.3.13 hslClr

This element specifies a color using the HSL color model. A perceptual gamma of 2.2 is assumed.

Hue refers to the dominant wavelength of color, saturation refers to the purity of its hue, and luminance refers to its lightness or darkness.

As with all colors, colors defined with the HSL color model can have color transforms applied to it.

[Example:

The color blue having RGB value RRGGBB = (00, 00, 80) is equivalent to

<a:solidFill>
  <a:hslClr hue="14400000" sat="100%" lum="50%">
</a:solidFill>

end example]

Attributes

sat (Saturation)

Specifies the saturation referring to the purity of the hue. Expressed as a percentage with 0% referring to grey, 100% referring to the purest form of the hue.

The possible values for this attribute are defined by the ST_Percentage simple type (20.1.10.40).

lum (Luminance)

Specifies the luminance referring to the lightness or darkness of the color. Expressed as a percentage with 0% referring to maximal dark (black) and 100% referring to maximal white.

The possible values for this attribute are defined by the ST_Percentage simple type (20.1.10.40).

hue (Hue)

Specifies the angular value describing the wavelength.

The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (20.1.10.44).

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

Last updated on