Enum ColorDepth
What the terminal can actually render. Detected once at startup;
every emitted color is quantized down to the highest depth this
terminal understands so an ESC[38;2;R;G;B never reaches a
16-color VT520.
public enum ColorDepth : byte
Fields
None = 0No ANSI escapes — output is redirected,
NO_COLORis set,TERM=dumb, or VT enablement failed on Windows. Colors are dropped silently.Standard16 = 116 SGR colors (
30..37,90..97). Truecolor and 256-color values are quantized to the nearest of the 16 BIOS anchors before emission.Xterm256 = 2xterm 256-color palette. Truecolor values are quantized to the closest 6×6×6 cube entry or 24-step grayscale ramp.
Truecolor = 324-bit truecolor. Modern terminals (Windows Terminal, iTerm2, gnome-terminal, kitty, alacritty, modern xterm).