pub fn styled(text: &str, sgr: &str, color: bool) -> String
Wrap text in the given SGR parameters, or return it unchanged when the output is not colorized.
text