Skip to main content

contrasting_color

Function contrasting_color 

Source
pub fn contrasting_color(color: &Color) -> Color
Expand description

Get a contrasting color (black or white) for better readability