Browser HDR & wide color gamut auditor: Testing Display P3 and Rec.2020 color depth
Modern displays support stunning wide color gamuts like Display P3 and Rec. 2020. In this studio, we detect HDR capabilities and render high-chroma color targets to see if your monitor displays wide gamut colors.
How to Use the HDR & Gamut Inspector (3 Simple Steps)
Review Hardware Capability Cards
The inspector queries CSS media queries (@media color-gamut and dynamic-range) and window.devicePixelRatio in real time.
Compare sRGB vs Display P3 Swatches
Inspect side-by-side color swatches rendered in standard sRGB vs wide-gamut Display P3 to spot the 25% wider color spectrum.
Test Visual P3 Sensitivity Badge
Observe the visual test shape. On sRGB screens it blends in; on wide-gamut MacBook, iPhone, and OLED screens, it glows distinctly.
Key Features & Diagnostic Standards
Automatic Hardware Media Query Audit
Evaluates (color-gamut: p3), (color-gamut: rec2020), (dynamic-range: high), screen.colorDepth, and devicePixelRatio.
Wide-Gamut P3 vs sRGB Side-by-Side
Renders colors using CSS color(display-p3 r g b) to demonstrate wide-gamut neon greens and crimson reds impossible in sRGB.
Optical P3 Sensitivity Target
An interactive test pattern utilizing P3-only color coordinates that only become distinguishable on wide-gamut panels.
Retina & HiDPI Ratio Detection
Measures your display subpixel scaling factor (1.25x, 1.5x, 2.0x Retina) for crisp UI rendering.
Understanding Modern Wide Color Gamuts & HDR Standards
For over two decades, the web was constrained to the sRGB color space, which covers only 35% of the visible chromatic spectrum discernible by the human eye. With the advent of OLED panels, Apple Retina displays, and DCI-P3 cinema monitors, modern web browsers support wide-gamut color via the CSS Color Module Level 4.
Key color space milestones in modern web design:
- sRGB (Rec. 709): Legacy baseline for standard PC displays and SDR television.
- Display P3: 25% larger gamut with intense, neon greens and vivid scarlet reds. Standard on MacBooks, iPads, and modern smartphones.
- Rec. 2020: Ultra-wide gamut covering 75% of visible color, used for high-end HDR mastering.
:root {
--accent-color: #ff3366; /* Standard sRGB Fallback */
}
@media (color-gamut: p3) {
:root {
/* Rich wide-gamut P3 definition */
--accent-color: color(display-p3 1 0.1 0.35);
}
}
Diagnostic Best Practices & Production Tips
Frequently Asked Questions
What is Display P3 compared to sRGB?
Display P3 covers approximately 25% larger color volume than standard sRGB, offering significantly more saturated reds, greens, and yellows. It is the factory color standard for Apple devices and modern DCI-P3 creative monitors.
What does HDR (High Dynamic Range) support mean in a browser?
When @media (dynamic-range: high) evaluates to true, the operating system and display pipeline support peak brightness exceeding 1000 nits and 10-bit color depth for video and photos without clipping.
Why does the P3 hidden test shape look identical on some monitors?
If your monitor only supports standard sRGB (or is connected via an 8-bit SDR profile), the browser automatically clamps the P3 color down to standard sRGB, making the shape blend into the background.
How do I enable HDR in Windows?
In Windows 11, open Settings > System > Display, select your HDR-capable monitor, and toggle "Use HDR" to On.
How do I verify if my display is actually rendering true High Dynamic Range (HDR)?
Our benchmark queries the CSS media query (dynamic-range: high) and (color-gamut: p3/rec2020). It displays 1000-nit luminance test swatches that render brighter than standard SDR white on genuine HDR monitors.
What is the difference between sRGB, DCI-P3, and Rec. 2020 color gamuts?
sRGB covers standard web color. DCI-P3 expands green and red color coverage by 25% for cinematic digital film. Rec. 2020 represents ultra-wide color gamut coverage required for premium HDR10 and Dolby Vision displays.
Why do HDR colors look washed out or dull in Windows 11?
In Windows 11 Settings ➔ System ➔ Display ➔ HDR, adjust the "SDR content brightness" slider. Calibrate using the official Windows HDR Calibration tool from the Microsoft Store to generate accurate color profiles.