Function lighten

  • Lighten a color by a specified amount

    Returns

    The lightened color

    Throws

    Invalid Color if the color parameter is not a valid color

    Parameters

    • color: Color

      The color to be lightened

    • amount: number

      The amount to lighten the color by (0-100)

    Returns Color

Generated using TypeDoc