Trevixal API
    Preparing search index...
    • The WCAG contrast ratio of two colours, 1 to 21; null when either cannot be read.

      Parameters

      • foreground: string
      • background: string

      Returns number | null