pub fn flatten(fg: Hsla, bg: Hsla) -> Hsla
Composite fg (which may be translucent) over an opaque bg, returning the opaque result — the color the eye actually receives.
fg
bg