Skip to main content

contrast_ratio

Function contrast_ratio 

Source
pub fn contrast_ratio(foreground: RgbColor, background: RgbColor) -> f64