fn color_to_ansi(color: Color, background: bool) -> Option<String>
Convert one Ratatui color into foreground/background ANSI code.