comp • gb.image • color • invert

Color.Invert (gb.image)

Static Function Invert ( Color As Integer [ , KeepHue As Boolean ] ) As Integer

Since 3.16

Invert a color and return it.

If KeepHue is TRUE, then the color hue is kept. Only its saturation and its value are inverted. This feature is used for adapting colors to dark theme.