Skip to main content

readable_on

Function readable_on 

Source
pub fn readable_on(fill: Color32, dark: Color32) -> Color32
Expand description

White or dark, whichever reads better on fill (for text on colored buttons).