pub fn contrast_ratio(a: Color32, b: Color32) -> f32
Contrast ratio between two opaque colors, from 1.0 to 21.0.