pub fn contrast_ratio<T>(luma1: T, luma2: T) -> T👎Deprecated since 0.7.2: replaced by
LinLuma::relative_contrast, via Wcag21RelativeContrastExpand description
Calculate the ratio between two luma values.