If you have an HDR monitor + the latest Chrom* based browser this should work out of the box on macOS/Windows. Other platforms/browsers you'll have to check the WebGPU + HDR standards support (which will be different for <canvas> than <video>) and may need to twiddle flags and/or wait for future releases.
It should tell you the active color space and range info at the bottom.
Judgmentality•2h ago