Skip to main content

kept

Function kept 

Source
pub fn kept(text: Hsla, page: Hsla) -> f32
Expand description

The contrast text keeps when something is painted under it: what it has over page, up to LEGIBLE. Faint text is held to its own contrast, not raised to body text’s.