color_to_ansi

Function color_to_ansi 

Source
fn color_to_ansi(color: Color, background: bool) -> Option<String>
Expand description

Convert one Ratatui color into foreground/background ANSI code.