readable

Function readable 

pub fn readable(background: Color, text: Color) -> Color
Expand description

Computes a Color from the given text color that is readable on top of the given background color.