InverseRGB returns a new color formed from the current colors alpha channel and the difference of the RGB channels and 1.0 (or 255 if 8 bit). For Color objects, the actual equation used for each 8 bit RGB channel is: 255 - c.rgb.
Parameters |
Description |
Color c |
A color that is used to form the new color (return value). |
A new Color formed from the current colors alpha channel and the inverse of the RGB channels.