This filter is found in
Image>Filters/Colors/Value Invert
This filter inverts Value (luminosity) of the active layer or selection. Hue and Saturation will
not be affected and color will be slightly different. If you want to invert Hue and Saturation also,
use
Image>Layers/Colors/Invert.