Skip to main content

ColorSupport enum

Namespace: Arlecchino.Rendering.Colors · Assembly: Arlecchino.Core

How much color the terminal can show. Detected once at startup by TerminalCapabilities.DetectColor and used by every style when it builds its escape sequence.

public enum ColorSupport : byte

Fields

NameValueSummary
None0No color at all: styles emit nothing, not even the per-line reset. Chosen for NO_COLOR, TERM=dumb, or a Windows console that refused virtual terminal mode.
Palette1The sixteen ANSI colors; a Rgb is mapped to the nearest of them.
TrueColor2Full 24-bit color, so RgbTermColor emits exact values.