Apple gave us the ability to invert colors on the screen a very long time ago. Then they gave us grayscale mode in iOS 8, Night Shift in iOS 9, and the red screen filter in iOS 10. While the long-awaited "Dark Mode" has yet to materialize, iOS 11 and iOS 12 both have a decent placeholder for it you can use on your iPhone.
While it's not exactly the dark mode we wanted, there's an option in iOS 11 and iOS 12 to enable "Smart Invert" which reverses the colors of the iPhone's display, just like the "Classic Invert" did for all these years. But this special new inverted mode won't reverse everything. Specifically, it won't reverse images, media, and some apps that use dark color styles already, to quote the settings.
The importance of dark mode, even as Smart Invert, is most benefited on the iPhone X, XS, and XS Max, which all have OLED panels instead of LCDs. Unlike the latter, OLED panels will just turn off the parts of the display that are showing true blacks, which is a serious benefit when it comes to battery life.
To access this new inverted mode, head to Settings –> General –> Accessibility –> Display Accommodations –> Invert Colors, then toggle on "Smart Invert" from the menu. That's it.
The differences between Smart and Classic Invert are small. For instance, the Maps app looks exactly the same with both, while the home screen with Smart Invert enabled looks the same as without any inverted look on.
In the Photos app, you can see that the UI turned black in both cases, but Smart Invert did not mess with the images or videos at all, which makes it way more useful for those of us yearning for a real dark mode.
If you really like this new Smart Invert option, you're like to be turning it on and off quite a bit. If that's the case, you'll want to set up an Accessibility Shortcut. You can do this using either the triple-click Home button shortcut on iPhones with a Home button, the triple-click Side button shortcut on the iPhone X and newer, or by adding the Accessibility Shortcuts icon to the Control Center.
Either way, whether you're doing the triple-click shortcut or the Control Center shortcut, go to Settings –> General –> Accessibility –> Accessibility Shortcut, then just select "Smart Invert Colors." Now, whenever you triple-click the Home or Side button, you'll get a menu to toggle on Smart Invert from, as you can see below.
To use the Control Center shortcut, go to Settings –> Control Center –> Customize Controls, then add the "Accessibility Shortcuts" control to the Include list. Then, just long-press or 3D Touch on the icon in the Control Center to bring up the menu where you can toggle Smart Invert on and off.
Hopefully, this is just the precursor to the real dark mode that'll appear one day. But since we already have three iPhones models with OLED panels and Apple still hasn't included an official dark mode, it's likely Smart Invert is the best we'll ever get.