Function colorMultiply

  • Finds the Hadamard/Schur product of 2 colors

    Returns

    A new color object thats the result of the Hadamard/Schur product of the 2 Colors

    Example

    const color1 = new Color(0.5, 0.2, 0.4)
    const color2 = new Color(0.9, 1, 0.3)

    colorMultiply(color1, color2).toArray() // -> [0.45, 0.2, 0.12]

    Parameters

    Returns Color

Generated using TypeDoc