Design icons for add-in commands

Office icon design principles

The Office 2013 release of the Office desktop clients includes refreshed iconography. The overriding stylistic change is reduction. The new icons include only essential communicative elements. Non-essential elements including perspective, gradients, and light source are removed. The simplified icons support faster parsing of commands and controls. Follow this style to best fit with Office.

Office icons are based on the following design principles: 

  • Modern interpretation of Office icon collection 

  • Fresh yet familiar 

  • Simple, clear, and direct 

The following image shows icons that apply the modern design principles.

Image showing old Office icons and the refreshed modern interpretation of the icons

Icon guidelines

Follow these guidelines when you create your icons: 

  • Stick to the 1px grid and use a bitmap editing tool for best results.  

  • Redraw, don't resize. As you resize your icons for larger or smaller sizes, take the time to redraw cutouts, corners, and rounded edges to maximize line clarity. 

  • Remove artifacts that make your icon look messy.

  • Don't reuse Office UI Fabric icons in the Office ribbon or contextual menu. Fabric icons are stylistically different and will not match. 

  • Avoid relying on your logo or brand to communicate what an add-in command does. Brand marks aren't always recognizable at smaller icon sizes and when modifiers are applied. Brand marks often conflict with Office ribbon icon styles, and can compete for user attention in a saturated environment.

  • Use a white fill for accessibility. Most objects in your icons will require a white background to be legible across Office UI themes and in high-contrast modes.  

  • Use the PNG format with a transparent background. 

  • Avoid localizable content in your icons, including typographic characters, indications of paragraph rags, and question marks. 

  • Don't reuse visual metaphors for different commands. Using the same icon for different actions can cause confusion. 

  • Make your button labels clear and succinct. Use a combination of visual and textual information to convey meaning. 

Icon size recommendations and requirements

Office 2016 desktop icons are bitmap images. Different sizes will render depending on the user's DPI setting and touch mode. Include all eight supported sizes to create the best experience in all supported resolutions and contexts. The following are the supported sizes - three are required:

  • 16 px (Required)

  • 20 px

  • 24 px

  • 32 px (Required)

  • 40 px

  • 48 px

  • 64 px (Recommended, best for Mac)

  • 80 px (Required) 

Make sure to redraw your icons for each size rather than shrink them to fit.

Illustration that shows the recommendation to resize icons rather than shrink icons

Icon anatomy and layout

Office icons are typically comprised of a base element with action and conceptual modifiers overlayed. Action modifiers represent concepts such as add, open, new, or close. Conceptual modifiers represent status, alteration, or a description of the icon. 

To create commands that align with the Office UI, follow layout guidelines for the base element and modifiers. This ensures that your commands look professional and that your customers will trust your add-in. If you make exceptions to these guidelines, do so intentionally.

The following image shows the layout of base elements and modifiers in an Office icon.

Image showing an icon base element in the center with a modifier on the lower right and an action modifier on the upper left

  • Center base elements in the pixel frame with empty padding all around.

  • Place action modifiers on the top left. 

  • Place conceptual modifiers on the bottom right.

  • Limit the number of elements in your icons. At 32px, limit the number of modifiers to a maximum of two. At 16px, limit the number of modifiers to one.

Place base elements consistently across sizes. If base elements can't be centered in the frame, align them to the top left, leaving the extra pixels on the bottom right. For best results, apply the padding guidelines listed in the following table.

Icon sizePadding around base element
16px0
20px1px
24px1px
32px2px
40px2px
48px3px
64px5px
80px5px

All modifiers should have a 1px transparent cutout between each element, including the background. Elements should not directly overlap. Create whitespace between rules and edges. Modifiers can vary slightly in size, but use these dimensions as a starting point.

Icon sizeModifier size
16px9px
20px10px
24px12px
32px14px
40px20px
48px22px
64px29px
80px38px

Icon colors

Office icons have a limited color palette. Use the colors listed in the following table to guarantee seamless integration with the Office UI. Apply the following guidelines to the use of color: 

  • Use color to communicate meaning rather than for embellishment. It should highlight or emphasize an action, status, or an element that explicitly differentiates the mark.  

  • If possible, use only one additional color beyond gray. Limit additional colors to two at the most.

  • Colors should have a consistent appearance in all icon sizes. Office icons have slightly different color palettes for different icon sizes. 16px and smaller icons are slightly darker and more vibrant than 32px and larger icons. Without these subtle adjustments, colors appear to vary across sizes. 

Color nameRGBHexColorCategory
Text Gray (80)80, 80, 80#505050Text gray 80 color imageText
Text Gray (95)95, 95, 95#5F5F5FText gray 95 color imageText
Text Gray (105)105, 105, 105#696969Text gray 105 color imageText
Dark Gray 32128, 128, 128#808080Dark gray 32 color image32 and above
Medium Gray 32158, 158, 158#9E9E9EMedium gray 32 color image32 and above
Light Gray ALL179, 179, 179#B3B3B3Light gray all color imageAll sizes
Dark Gray 16114, 114, 114#727272Dark gray 16 color image16 and below
Medium Gray 16144, 144, 144#909090Medium gray 16 color image16 and below
Blue 3277, 130, 184#4d82B8Blue 32 color image32 and above
Blue 1674, 125, 177#4A7DB1Blue 16 color image16 and below
Yellow ALL234, 194, 130#EAC282Yellow all color imageAll sizes
Orange 32231, 142, 70#E78E46Orange 32 color image32 and above
Orange 16227, 142, 70#E3751COrange 16 color image16 and below
Pink ALL230, 132, 151#E68497Pink all color imageAll sizes
Green 32118, 167, 151#76A797Green 32 color image32 and above
Green 16104, 164, 144#68A490Green 16 color image16 and below
Red 32216, 99, 68#D86344Red 32 color image32 and above
Red 16214, 85, 50#D65532Red 16 color image16 and below
Purple 32152, 104, 185#9868B9Purple 32 color image32 and above
Purple 16137, 89, 171#8959ABPurple 16 color image16 and below

Icons in high contrast modes

Office icons are designed to render well in high contrast modes. Foreground elements are well differentiated from backgrounds to maximize legibility and enable recoloring. In high contrast modes, Office will recolor any pixel of your icon with a red, green, or blue value less than 190 to full black. All other pixels will be white. In other words, each RGB channel is assessed where 0-189 values are black and 190-255 values are white. Other high-contrast themes recolor using the same 190 value threshold but with different rules. For example, the high-contrast white theme will recolor all pixels greater than 190 opaque but all other pixels as transparent. Apply the following guidelines to maximize legibility in high-contrast settings:

  • Aim to differentiate foreground and background elements along the 190 value threshold.

  • Follow Office icon visual styles.

  • Use colors from our icon palette.

  • Avoid the use of gradients.

  • Avoid large blocks of color with similar values.

See also


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章