You must have an Xbox One X or Xbox One S console and a 4K TV to display 4K and HDR. Here's how to check:
To see if you have an Xbox One X or Xbox One S, look on the back of your console. On the right side, near the network port, there should be a sticker that reads “Xbox One X” or "Xbox One S." If that sticker is missing, check the bottom of the console for a sticker that reads "Xbox One Console." An Xbox One console without the “X” or "S" does not support 4K.
Important Eject any discs and turn your console off before turning it over.
To see if you have a 4K TV and HDR10, refer to the packaging or manual for your TV. Different manufacturers use different names. Here are some things to look for:
Resolutions or modes: 3840 x 2160 at 24Hz, 50Hz, or 60Hz
Names for HDR10: HDR Premium, High Dynamic Range, HDR, UHD Color, Ultra HD Premium, Ultra HD deep color
To check your TV's 4K and HDR capabilities, with the console connected and on, go to Settings > Display & sound, then choose Advanced video settings > 4K TV details.
If you don't see 4K TV details, you either don't have an Xbox One X or Xbox One S, or the console can't detect a 4K TV. See "Troubleshooting 4K and HDR" for more help.