Mix colour vectors with arithmetic operatorsSource:
These binary operators mix colour vectors with arithmetic operators.
- e1, e2
Colour vectors of class
The binary operators return colour vectors of class
palettes_colour containing the result of the element by
element operations. If involving a zero-length vector the result has length
zero. Otherwise, the elements of shorter vectors are recycled as necessary.
+ operator is for additive colour mixing.