pub fn legible_on(plate: Hsla, a: Hsla, b: Hsla) -> Hsla
Whichever of a and b has the higher contrast ratio against plate, a on a tie.
a
b
plate