Why two different “sizes” show up
Every modern display has two numbers that both look like a resolution but answer different questions. Screen resolution is the physical pixel grid your monitor or panel actually has. Viewport size is how many CSS pixels your browser window has to lay out a page in, and on a high-DPI screen, those numbers are deliberately different: your OS scales the display so text and UI aren’t rendered pixel-for-pixel tiny, which is exactly what device pixel ratio (DPR) measures. A DPR of 2 means every CSS pixel is drawn with a 2×2 block of physical pixels.
Colour gamut and HDR, not just size
Two screens can share the exact same resolution and still show colour very differently. The
color-gamut media feature reports the widest colour space your display can reproduce: srgb,
the older, narrower web standard; p3, Apple’s Display P3 and similar wide-gamut panels; or
rec2020, the widest tier, mostly high-end HDR reference monitors. These are cumulative: a p3
display also matches srgb, so this page reports the widest one that matches rather than every
one that does. dynamic-range: high reports whether the display can render actual HDR content:
brighter highlights and deeper contrast than a standard-range screen assumes.
Why the refresh rate is an estimate, not a spec
Browsers don’t expose a direct API for a display’s refresh rate. This page samples
requestAnimationFrame timestamps for about a second, takes the median gap between frames (median
rather than mean, so one delayed frame doesn’t skew the result), and converts that to Hz. It’s a
genuinely useful approximation: 60Hz, 90Hz, 120Hz and 144Hz panels come out clean in a normal tab,
but a background tab, heavy CPU load, or a variable-refresh-rate display can pull it off.
Everything in one copy-ready spec
Once every figure is on the page, the format switcher turns the whole thing into something you can
paste straight into a bug report, a support ticket, or your own CSS: plain JSON for a script or an
issue tracker, a ready-to-edit @media query for your stylesheet, or a Markdown table for a wiki
page or a GitHub comment.