pub fn color_enabled() -> bool
Check if color is enabled on stderr.
Reads NO_COLOR / FORCE_COLOR / CLICOLOR_FORCE and tty status via the supports-color crate. This is the same source owo-colors consults internally.
NO_COLOR
FORCE_COLOR
CLICOLOR_FORCE
supports-color
owo-colors