pub fn color_enabled() -> bool
Returns true if colored output is enabled.
true
Color is disabled when the NO_COLOR environment variable is set (to any value, including empty string).
NO_COLOR