meetsWCAGAAA static method

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

Implementation

static bool meetsWCAGAAA(Color foreground, Color background) {
  return contrastRatio(foreground, background) >= minContrastAAA;
}