pub fn ensure_contrast(
fg: PackedRgba,
bg: PackedRgba,
min_level: ContrastLevel,
) -> PackedRgbaExpand description
Ensure a color meets minimum contrast against a background. If the color doesn’t meet the requirement, returns a suggested alternative.