# VisualThemeColorToken

Identifies a canonical theme color independently of its current RGB value.

 Enum  

`ChartForgeX.Themes`

**Namespace**

`ChartForgeX.Themes`

**Assembly**

`ChartForgeX`

**Source**

[VisualThemeColorToken.cs:4](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Identifies a canonical theme color independently of its current RGB value.

## Inheritance

- Enum
- VisualThemeColorToken

## 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.

### Returned or exposed by 13

- Field [VisualThemeColorToken.Accent](/api/chartforgex-themes-visualthemecolortoken/#field-accent)
- Field [VisualThemeColorToken.Background](/api/chartforgex-themes-visualthemecolortoken/#field-background)
- Field [VisualThemeColorToken.Border](/api/chartforgex-themes-visualthemecolortoken/#field-border)
- Field [VisualThemeColorToken.ElevatedSurface](/api/chartforgex-themes-visualthemecolortoken/#field-elevatedsurface)
- Field [VisualThemeColorToken.Foreground](/api/chartforgex-themes-visualthemecolortoken/#field-foreground)
- Field [VisualThemeColorToken.Info](/api/chartforgex-themes-visualthemecolortoken/#field-info)
- Field [VisualThemeColorToken.Maintenance](/api/chartforgex-themes-visualthemecolortoken/#field-maintenance)
- Field [VisualThemeColorToken.MutedForeground](/api/chartforgex-themes-visualthemecolortoken/#field-mutedforeground)
- Field [VisualThemeColorToken.Negative](/api/chartforgex-themes-visualthemecolortoken/#field-negative)
- Field [VisualThemeColorToken.Neutral](/api/chartforgex-themes-visualthemecolortoken/#field-neutral)
- Field [VisualThemeColorToken.Positive](/api/chartforgex-themes-visualthemecolortoken/#field-positive)
- Field [VisualThemeColorToken.Surface](/api/chartforgex-themes-visualthemecolortoken/#field-surface)
- Field [VisualThemeColorToken.Warning](/api/chartforgex-themes-visualthemecolortoken/#field-warning)

### Accepted by parameters 1

- Method [SvgColorVariables.AddThemeToken](/api/chartforgex-themes-svgcolorvariables/#method-addthemetoken-chartforgex-themes-visualthemecolortoken-string) parameter `token`

 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 VisualThemeColorToken Background` [#](#field-background) 

[VisualThemeColorToken.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L6)

The outer visual background.

Value: `0`

 `public const VisualThemeColorToken Surface` [#](#field-surface) 

[VisualThemeColorToken.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L8)

The main content surface.

Value: `1`

 `public const VisualThemeColorToken ElevatedSurface` [#](#field-elevatedsurface) 

[VisualThemeColorToken.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L10)

An elevated card or panel surface.

Value: `2`

 `public const VisualThemeColorToken Foreground` [#](#field-foreground) 

[VisualThemeColorToken.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L12)

The primary text and foreground color.

Value: `3`

 `public const VisualThemeColorToken MutedForeground` [#](#field-mutedforeground) 

[VisualThemeColorToken.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L14)

The secondary text and foreground color.

Value: `4`

 `public const VisualThemeColorToken Border` [#](#field-border) 

[VisualThemeColorToken.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L16)

The shared border color.

Value: `5`

 `public const VisualThemeColorToken Accent` [#](#field-accent) 

[VisualThemeColorToken.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L18)

The primary accent color.

Value: `6`

 `public const VisualThemeColorToken Positive` [#](#field-positive) 

[VisualThemeColorToken.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L20)

The positive or healthy state color.

Value: `7`

 `public const VisualThemeColorToken Warning` [#](#field-warning) 

[VisualThemeColorToken.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L22)

The warning state color.

Value: `8`

 `public const VisualThemeColorToken Negative` [#](#field-negative) 

[VisualThemeColorToken.cs:24](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L24)

The negative or failing state color.

Value: `9`

 `public const VisualThemeColorToken Neutral` [#](#field-neutral) 

[VisualThemeColorToken.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L26)

The neutral state color.

Value: `10`

 `public const VisualThemeColorToken Maintenance` [#](#field-maintenance) 

[VisualThemeColorToken.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L28)

The maintenance state color.

Value: `11`

 `public const VisualThemeColorToken Info` [#](#field-info) 

[VisualThemeColorToken.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Themes/VisualThemeColorToken.cs#L30)

The informational state or relationship color.

Value: `12`

<!-- PowerForge markdown artifact sha256:CAF166E5FBDFAEBBFB9556C0A863D5C3A26B08052C80A22A7F37FC6B919E35AF -->
