//! WCAG 2.x's colour contrast: relative luminance and contrast ratio, for
//! the UI's accessibility checks and caption legibility alike.
/// WCAG's relative luminance of an sRGB colour (components `0..=1`).
/// WCAG's contrast ratio between two sRGB colours, 1 to 21.