pub fn to_color(color: Color) -> Color
Converts some Color to a cosmic_text::Color.
Color
cosmic_text::Color