ColorMostRecentlyUsed Class

Color MRU.When the object is serialized out as xml, its qualified name is p:clrMru.


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

public class ColorMostRecentlyUsed : OpenXmlCompositeElement

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.RgbColorModelPercentage <a:scrgbClr>

  • DocumentFormat.OpenXml.Drawing.RgbColorModelHex <a:srgbClr>

  • DocumentFormat.OpenXml.Drawing.HslColor <a:hslClr>

  • DocumentFormat.OpenXml.Drawing.SystemColor <a:sysClr>

  • DocumentFormat.OpenXml.Drawing.SchemeColor <a:schemeClr>

  • DocumentFormat.OpenXml.Drawing.PresetColor <a:prstClr>

[ISO/IEC 29500-1 1st Edition] clrMru (Color MRU)

This specifies the most recently used user-selected colors within the presentation. This list contains custom user-selected colors outside the presentation's theme colors, enabling the application to expose these additional color choices for easy reuse. The first item in the list is the most recently used color.

[Example: Consider the following presentation with two user-selected colors in the color MRU list.

<p:presentationPr xmlns:a="" xmlns:r="" xmlns:p="">
    <a:srgbClr val="5361EB"/>
    <a:srgbClr val="CCECFF"/>

end example]

Parent Elements

presentationPr (§

Child Elements


hslClr (Hue, Saturation, Luminance Color Model)


prstClr (Preset Color)


schemeClr (Scheme Color)


scrgbClr (RGB Color Model - Percentage Variant)


srgbClr (RGB Color Model - Hex Variant)


sysClr (System Color)


[Note: The W3C XML Schema definition of this element’s content model (CT_ColorMRU) 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.

Community Additions

© 2015 Microsoft