Inverse returns a new color formed by subtracting the current color from 1.0 (or 255 if 8 bit). For Color objects, the actual equation used for each 8 bit channel is: 255 - c.
Parameters |
Description |
Color c |
A color that is inverted to form the new color (return value). |
A new Color, formed by inverting each RGBA channel.