Follow these six steps to enable grayscale mode on your iPhone.

Open Settings

Tap Accessibility

Tap Display & Text Size

Tap Color Filters

Toggle Color Filters On

Select Grayscale
Go to Settings → Accessibility → Accessibility Shortcut → Color Filters. Now you can triple-click the side button to toggle grayscale on and off instantly.