tsParticles - v4.4.0
    Preparing search index...
    • Mixes two colors based on size proportions

      Parameters

      • color1: IRgb | IHsl

        the first color

      • color2: IRgb | IHsl

        the second color

      • size1: number

        the size of the first color

      • size2: number

        the size of the second color

      • Optionalhdr: boolean

        whether to mix in linear space for HDR

      Returns IRgb

      the mixed RGB color