Skip to main content

text_on

Function text_on 

Source
pub fn text_on(solid: Color, dark: Color) -> Color
Expand description

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