Understand terminal color profiles
masterThe output.Profile property returns the detected color capabilities of the terminal. termenv automatically degrades colors to the best matching available profile if the terminal has limited support:
TrueColor (24-bit RGB) => ANSI256 => ANSI (16 colors) => Ascii (no ANSI support).
Available profiles:
termenv.Ascii: No ANSI support detected.termenv.ANSI: 16 color ANSI support.termenv.ANSI256: Extended 256 color ANSI support.termenv.TrueColor: RGB/TrueColor support.
To respect environment variables like NO_COLOR and CLICOLOR_FORCE, use termenv.EnvColorProfile instead of the standard detection.