Function desaturate

  • Makes the provided color less saturated by the specified amount.

    Returns

    the new desaturated color

    Parameters

    • color: Color

      the color to desaturate.

    • amount: number

      the amount to desaturate the color.

    Returns Color

Generated using TypeDoc