Basic arithmetic for color operations. The value on the right can be a value of any numeric type.
Typical usage:
// Red colorRGBColorcolor = newRGBColor(255, 0, 0);
// Add two for all channels in colorautonewColor = color + 2;
// Divide all channels by two color = color / 2;
Basic arithmetic for color operations. The value on the right can be a value of any numeric type.
Typical usage: