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