# RtfThemeColor

Theme color token associated with an RTF color table entry.

Enum 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfThemeColor.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Theme color token associated with an RTF color table entry.

## Inheritance

- Enum
- RtfThemeColor

## Usage

Explore 17 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.

### Returned or exposed by 17

- Property [RtfColor.ThemeColor](/api/rtf/officeimo-rtf-rtfcolor/#property-themecolor)
- Field [RtfThemeColor.AccentFive](/api/rtf/officeimo-rtf-rtfthemecolor/#field-accentfive)
- Field [RtfThemeColor.AccentFour](/api/rtf/officeimo-rtf-rtfthemecolor/#field-accentfour)
- Field [RtfThemeColor.AccentOne](/api/rtf/officeimo-rtf-rtfthemecolor/#field-accentone)
- Field [RtfThemeColor.AccentSix](/api/rtf/officeimo-rtf-rtfthemecolor/#field-accentsix)
- Field [RtfThemeColor.AccentThree](/api/rtf/officeimo-rtf-rtfthemecolor/#field-accentthree)
- Field [RtfThemeColor.AccentTwo](/api/rtf/officeimo-rtf-rtfthemecolor/#field-accenttwo)
- Field [RtfThemeColor.BackgroundOne](/api/rtf/officeimo-rtf-rtfthemecolor/#field-backgroundone)
- Field [RtfThemeColor.BackgroundTwo](/api/rtf/officeimo-rtf-rtfthemecolor/#field-backgroundtwo)
- Field [RtfThemeColor.FollowedHyperlink](/api/rtf/officeimo-rtf-rtfthemecolor/#field-followedhyperlink)
- Field [RtfThemeColor.Hyperlink](/api/rtf/officeimo-rtf-rtfthemecolor/#field-hyperlink)
- Field [RtfThemeColor.MainDarkOne](/api/rtf/officeimo-rtf-rtfthemecolor/#field-maindarkone)
- Field [RtfThemeColor.MainDarkTwo](/api/rtf/officeimo-rtf-rtfthemecolor/#field-maindarktwo)
- Field [RtfThemeColor.MainLightOne](/api/rtf/officeimo-rtf-rtfthemecolor/#field-mainlightone)
- Field [RtfThemeColor.MainLightTwo](/api/rtf/officeimo-rtf-rtfthemecolor/#field-mainlighttwo)
- Field [RtfThemeColor.TextOne](/api/rtf/officeimo-rtf-rtfthemecolor/#field-textone)
- Field [RtfThemeColor.TextTwo](/api/rtf/officeimo-rtf-rtfthemecolor/#field-texttwo)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const RtfThemeColor MainDarkOne` [#](#field-maindarkone)

[RtfThemeColor.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L8)

Main dark theme color 1.

Value: `0`

`public const RtfThemeColor MainLightOne` [#](#field-mainlightone)

[RtfThemeColor.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L11)

Main light theme color 1.

Value: `1`

`public const RtfThemeColor MainDarkTwo` [#](#field-maindarktwo)

[RtfThemeColor.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L14)

Main dark theme color 2.

Value: `2`

`public const RtfThemeColor MainLightTwo` [#](#field-mainlighttwo)

[RtfThemeColor.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L17)

Main light theme color 2.

Value: `3`

`public const RtfThemeColor AccentOne` [#](#field-accentone)

[RtfThemeColor.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L20)

Accent theme color 1.

Value: `4`

`public const RtfThemeColor AccentTwo` [#](#field-accenttwo)

[RtfThemeColor.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L23)

Accent theme color 2.

Value: `5`

`public const RtfThemeColor AccentThree` [#](#field-accentthree)

[RtfThemeColor.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L26)

Accent theme color 3.

Value: `6`

`public const RtfThemeColor AccentFour` [#](#field-accentfour)

[RtfThemeColor.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L29)

Accent theme color 4.

Value: `7`

`public const RtfThemeColor AccentFive` [#](#field-accentfive)

[RtfThemeColor.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L32)

Accent theme color 5.

Value: `8`

`public const RtfThemeColor AccentSix` [#](#field-accentsix)

[RtfThemeColor.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L35)

Accent theme color 6.

Value: `9`

`public const RtfThemeColor Hyperlink` [#](#field-hyperlink)

[RtfThemeColor.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L38)

Hyperlink theme color.

Value: `10`

`public const RtfThemeColor FollowedHyperlink` [#](#field-followedhyperlink)

[RtfThemeColor.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L41)

Followed hyperlink theme color.

Value: `11`

`public const RtfThemeColor BackgroundOne` [#](#field-backgroundone)

[RtfThemeColor.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L44)

Background theme color 1.

Value: `12`

`public const RtfThemeColor TextOne` [#](#field-textone)

[RtfThemeColor.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L47)

Text theme color 1.

Value: `13`

`public const RtfThemeColor BackgroundTwo` [#](#field-backgroundtwo)

[RtfThemeColor.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L50)

Background theme color 2.

Value: `14`

`public const RtfThemeColor TextTwo` [#](#field-texttwo)

[RtfThemeColor.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfThemeColor.cs#L53)

Text theme color 2.

Value: `15`

<!-- PowerForge markdown artifact sha256:7EF5A8751330D1589646119FF4D4B40F12F57BC03134BC01A690C86A1B5675DD -->
