Function calculateBrighterHexColor

  • Calculates a brighter hex color by the specified brighter percentage.

    Parameters

    • hexColor: string

      the input hex color #RRGGBB

    • percentageBrighter: number

      How much to brighten the color

    • Optional fallbackHexColor: string

      Optional fallback color if the hexColor argument is invalid

    Returns string | undefined

    The brightened color or undefined if invalid hexColor

    See

    Url

Generated using TypeDoc