If you want to invert colors of a photo on an iPhone then you must follow these steps:-
1. The first step is to visit the settings of your iPhone.
2. Then scroll down to the accessibility option and then select the option Display and Text Size.
3. Then scroll down and then turn on the classic invert button.
4. Now your entire screen and even the photos will become inverted.
For More Read:- https://techzeel.net/how-to-invert-a-picture-on-iphone/