@OPEN-KAPPA/COLORS
    Preparing search index...

    Type Alias Mixer<C>

    Mixer: (c1: C, c2: C, weight: number) => C

    Support type for a mixing function.

    Type Parameters

    Type Declaration

      • (c1: C, c2: C, weight: number): C
      • Parameters

        • c1: C

          The first color.

        • c2: C

          The second color.

        • weight: number

          The second color weight, between 0-1.

        Returns C

        The mixed color.