# IWorkColor

An immutable RGB color recovered from an iWork style.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IWorkText.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L41)

**Modifiers**

sealed

An immutable RGB color recovered from an iWork style.

## Inheritance

- object
- IWorkColor

## Usage

Explore 10 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 10

- Property [IWorkCellFill.Color](/api/iwork/officeimo-iwork-iworkcellfill/#property-color)
- Property [IWorkKeynoteSlide.BackgroundColor](/api/iwork/officeimo-iwork-iworkkeynoteslide/#property-backgroundcolor)
- Property [IWorkKeynoteSlideBuilder.BackgroundColor](/api/iwork/officeimo-iwork-iworkkeynoteslidebuilder/#property-backgroundcolor)
- Property [IWorkKeynoteTable.Color](/api/iwork/officeimo-iwork-iworkkeynotetable/#property-color)
- Property [IWorkKeynoteTextBox.Color](/api/iwork/officeimo-iwork-iworkkeynotetextbox/#property-color)
- Property [IWorkNumbersTable.Color](/api/iwork/officeimo-iwork-iworknumberstable/#property-color)
- Property [IWorkPagesTable.Color](/api/iwork/officeimo-iwork-iworkpagestable/#property-color)
- Property [IWorkTextRunData.Color](/api/iwork/officeimo-iwork-iworktextrundata/#property-color)
- Property [IWorkTextStyle.BackgroundColor](/api/iwork/officeimo-iwork-iworktextstyle/#property-backgroundcolor)
- Property [IWorkTextStyle.Color](/api/iwork/officeimo-iwork-iworktextstyle/#property-color)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public byte Red { get; }` [#](#property-red)

[IWorkText.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L41)

Gets the red component.

`public byte Green { get; }` [#](#property-green)

[IWorkText.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L43)

Gets the green component.

`public byte Blue { get; }` [#](#property-blue)

[IWorkText.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L45)

Gets the blue component.

`public byte Alpha { get; }` [#](#property-alpha)

[IWorkText.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L47)

Gets the alpha component.

`public string RgbHex { get; }` [#](#property-rgbhex)

[IWorkText.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L49)

Gets the opaque RGB representation used by Office formats.

<!-- PowerForge markdown artifact sha256:41079B3EC432EE5B61B828C74238FFCD2748486C9AF1D4695CFBB15FE7B9FE70 -->
