Skip to content
ConsoleMonster

API Reference

Enum

ColorDepth

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

Colour fidelity a terminal supports. Themes map their semantic tokens down to the detected depth.

Inheritance

  • Enum
  • ColorDepth

Usage

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

Accepted by parameters 18

Values

public const ColorDepth None #

No colour at all (NO_COLOR, plain mode, logs that must stay clean).

Value: 0
public const ColorDepth Ansi16 #

The 16 standard ANSI colours (Windows Server 2016 conhost, most CI logs).

Value: 1
public const ColorDepth Ansi256 #

The xterm 256-colour palette.

Value: 2
public const ColorDepth TrueColor #

24-bit RGB colour (Windows 10 1703+, Windows Terminal, VS Code, modern terminals).

Value: 3