• Alters HSL values for enlighten or darken the given color.

    Parameters

    • color: IHsl

      The color to enlighten or darken.

    • type: AlterType

      The type of alteration.

    • value: number

      The value of the alteration.

    Returns IHsl

    the altered IHsl color