The dynamic-range
CSS media feature can be used to test the combination of brightness, contrast ratio, and color depth that are supported by the user agent and the output device.
Note: Some devices have high dynamic range capabilities that are not always 'on' and need to be activated (sometimes programmatically, sometimes by the user, sometimes based on the content). This media feature does not test whether the dynamic range capability is active; it only tests whether the device is capable of high dynamic range visuals.