Invert Pixels, Selections, and Masks.
To invert colors (i.e. white to black, or red to cyan) press Ctrl I (Mac: Command I) on your keyboard. This works in layers, selections, and layer masks.
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!