Detects terminal color level from explicit environment and TTY data.
Levels follow the common convention: 0 none, 1 basic, 2 256-color, 3 truecolor.
Detects terminal color level from explicit environment and TTY data.
Levels follow the common convention: 0 none, 1 basic, 2 256-color, 3 truecolor.