Basic arithmetic for color operations. Only the RGBColor type can be used as the value on the right.
Typical usage:
// Red colorRGBColorcolor = newRGBColor(255, 0, 0);
// Blue color RGBColorcolor2 = newRGBColor(0, 0, 255);
// mix two colorsautomix = color + color2;
// difference between colorautodiff = color - color2;
Basic arithmetic for color operations. Only the RGBColor type can be used as the value on the right.
Typical usage: