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
| Name | Value | Summary |
|---|---|---|
None | 0 | No 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. |
Palette | 1 | The sixteen ANSI colors; a Rgb is mapped to the nearest of them. |
TrueColor | 2 | Full 24-bit color, so RgbTermColor emits exact values. |