Function darken

  • Darken a color by the specified amount.

    Returns

    the new darkened color

    Parameters

    • color: Color

      the color to darken.

    • amount: number

      the amount to darken the color.

    Returns Color

Generated using TypeDoc