HueOffset class

Office 2013 and later

Hue Offset. When the object is serialized out as xml, its qualified name is a:hueOff.

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class HueOffset : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

hueOff (Hue Offset)

This element specifies the input color with its hue shifted, but with its saturation and luminance unchanged.

Parent Elements

hslClr (§; prstClr (§; schemeClr (§; scrgbClr (§; srgbClr (§; sysClr (§



val (Value)

Specifies the actual angular value of the shift. The result of the shift shall be between 0 and 360 degrees. Shifts resulting in angular values less than 0 are treated as 0. Shifts resulting in angular values greater than 360 are treated as 360.


The following increases the hue angular value by 10 degrees.

  <a:hslClr hue="0" sat="100%" lum="50%"/>
  <a:hueOff val="600000"/>

end example]

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

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.