pub fn text_on(solid: Color, dark: Color) -> Color
The text colour that reads on a solid fill, as APCA ranks them: white, or dark (nearly black), whichever has the larger Lc.
dark