You can invert colors in Photoshop to create a "negative" of an image — you just need to go into the Adjustments menu. Here's how.
You can invert all the colors on your iPhone using the Accessibility menu in the Settings app, or with an Accessibility Shortcut.