meetsWcagAA3 static method

bool meetsWcagAA3(
  1. Color foreground,
  2. Color background
)

Checks if a color combination meets WCAG AA for large text/UI components.

Implementation

static bool meetsWcagAA3(Color foreground, Color background) =>
    meetsLevel(foreground, background, ContrastLevel.aa3);