System Preferences > Keyboard > Shortcuts, look under "Accessibility" for "invert colors"
You can also assign this to a hotkey to quickly toggle it on/off.