ColorVector:operator ‑(col2)
Version added: before 9.5
Subtracts one color from another and returns the result as a new color
Arguments:
| Name | Type | Description | Default | Ver |
| col2 | ColorVector | A color to subtract from the first one | < 9.5 |
Return value:
ColorVector the difference of two colors
Subtracts one color from another and returns the result as a new color. This operator makes it possible to subtract colors as if they were regular numbers. Example: c = a - b.
<< Back to ColorVector