Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

OfficeColorRole

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
e163ccb36643 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Semantic palette roles; only roles with native theme slots follow later edits in Office.

Inheritance

  • Enum
  • OfficeColorRole

Usage

Explore 14 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const OfficeColorRole None #

A literal RGBA color.

Value: 0
public const OfficeColorRole Accent1 #

First accent, native accent1.

Value: 1
public const OfficeColorRole Accent2 #

Second accent, native accent2.

Value: 2
public const OfficeColorRole Accent3 #

Third accent, native accent3.

Value: 3
public const OfficeColorRole Accent4 #

Fourth accent, native accent4.

Value: 4
public const OfficeColorRole Accent5 #

Fifth accent, native accent5.

Value: 5
public const OfficeColorRole Accent6 #

Sixth accent, native accent6.

Value: 6
public const OfficeColorRole Text #

Primary text, native dk1.

Value: 7
public const OfficeColorRole TextMuted #

Muted text, native dk2.

Value: 8
public const OfficeColorRole Background #

Page background, native lt1.

Value: 9
public const OfficeColorRole Success #

Positive status, written as a literal.

Value: 10
public const OfficeColorRole Warning #

Warning status, written as a literal.

Value: 11
public const OfficeColorRole Danger #

Danger status, written as a literal.

Value: 12