@yamlresume/core
    Preparing search index...

    Function isLowContrastOnWhite

    • Check whether a color has low contrast on a white background.

      Uses ACCENT_LOW_CONTRAST_THRESHOLD on white as an advisory check for accent colors (headings, rules, links).

      Parameters

      • hex: string

        The color hex string (6 characters, without #).

      Returns boolean

      Whether the color has a contrast ratio below the accent threshold on white.