You can invert the colors in a texture image using the Invert tool.
Paint within the brush ring changes to the inverse color hue and color value. No buildup of the invert effect occurs, as stroking repeatedly on the same region simply re-inverts the paint.
Higher bit depth image layers (16 bit and greater) are recommended to avoid any undesirable effects along the edges of the inverted color area.