pub fn write_colored<S: Write + ?Sized>( stream: &mut S, fg: Option<AnsiColor>, bg: Option<AnsiColor>, data: &[u8], ) -> Result<usize>
Write ANSI colored text to the stream