Documentation
    Preparing search index...

    Function colorIsDark

    • Checks if the given hex or RGB color's lightness value is lower than the COLOR_DARKNESS_THRESHOLD_VALUE.

      Parameters

      • color: string

      Returns boolean