How to find the iOS version of a reset iPhone

If on a background is linen texture: iOS 4, 5, 6, but it on the white background: iOS 7, 8, 9, 10, 11. You need to activate it to see the version.