pub fn luminance(rgb: u32) -> f32
the WCAG 2 relative luminance of 0xRRGGBB (alpha ignored): 0 black .. 1 white