• Lightens a 6 char HEX color according to the passed percentage

    Parameters

    • color: string

      The color to change

    • amount: number

      The amount to change the color by

    Returns string

    The processed color represented as HEX