Finds the difference of 2 color objects
A new color object thats the difference of color1 and color2
const color1 = new Color(0.5, 0.6, 0.75)const color2 = new Color(0.1, 0.1, 0.25)colorSubtract(color1, color2).toArray() // -> [0.4, 0.5, 0.5]
Generated using TypeDoc
Finds the difference of 2 color objects
Returns
A new color object thats the difference of color1 and color2
Example