Skip to content
ConsoleMonster
Enum

ColorKind

ConsoleMonster.Styling

Namespace
ConsoleMonster.Styling
Assembly
ConsoleMonster
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

How a Color value is expressed.

Inheritance

  • Enum
  • ColorKind

Usage

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

Values

public const ColorKind Default #

The terminal's default foreground or background.

Value: 0
public const ColorKind Ansi16 #

One of the 16 standard ANSI colours (index 0-15).

Value: 1
public const ColorKind Ansi256 #

One of the xterm 256 palette entries (index 0-255).

Value: 2
public const ColorKind Rgb #

A 24-bit RGB colour.

Value: 3