Tools38

Wide-gamut CSS

Display P3 Builder.

Preview vivid Display P3 colors alongside perceptual sRGB fallbacks and copy progressive wide-gamut CSS.

Active palette
Checking display gamut...
Wide-Gamut P3 Zone (+24% chroma over sRGB) Dashed line = sRGB limit · Outer edge = Display P3
Display P3 Wide gamut
Safe sRGB 0° hue shift
Naive Clip Browser clip
Progressive @supports + @media CSS Production-safe sRGB fallback + P3 upgrade
CSS Color 4 Display P3 & OKLCH Fallback #E11D48

Export palette

Import colors

Paste CSS variables, JSON tokens, a Coolors URL, or comma-separated HEX / RGB / OKLCH values (3–8 colors).

Try:

Saved Palettes

Stored in your browser cache—no account required.

Blog How to use Display P3 wide-gamut colors safely in CSS Read the guide

Build vivid Display P3 wide-gamut colors with zero-drift sRGB fallbacks

Explore the extra ~25% vivid emerald, cyan, crimson, and orange chroma available on modern Apple, OLED, and Display P3 screens—while automatically computing perceptually gamut-mapped sRGB fallbacks that avoid harsh browser hue shifts.

2D OKLCH Lightness × Chroma gamut map with sRGB and Display P3 boundaries.
QUICK VIDEO TUTORIAL How to use Display P3 wide-gamut colors safely in CSS Unlock 25% richer crimsons, emeralds, and cyans on Apple & OLED screens—with safe sRGB fallbacks. Watch the video

How to use Display P3 wide-gamut colors safely in CSS

Progressive wide-gamut CSS without clipping surprises

OLED & Retina UI

True color(display-p3 ...)

Unlock vivid wide-gamut accents on iPhones, MacBooks, and modern OLED displays.

Cross-Monitor Safety

0° hue-drift sRGB fallback

Binary-searches maximum sRGB chroma at identical OKLCH lightness and hue instead of naive RGB channel clipping.

Visual Proof

Live L×C boundary slice

See exact sRGB and P3 chroma limits even when working on a standard sRGB monitor.

Key capabilities

Perceptual P3 → sRGB chroma mapping

Binary-searches exact sRGB and Display P3 gamut limits in linear XYZ/OKLCH space.

Progressive CSS

Generates @supports and @media (color-gamut: p3) progressive enhancement blocks.

Perceptual OKLCH harmonies

Generates Analogous, Complementary, Split, Triadic, Tetradic, and Monochromatic palettes with sRGB gamut clamping.

How OKLCH helps

Rotating hues in OKLCH preserves perceived brightness and prevents neon clipping across light and dark styles.

6 live bidirectional color spaces

Converts simultaneously between HEX, OKLCH, RGB, HSL, D65 CIELAB, and process CMYK.

Omnibox parsing

Type or paste in any card—or drag perceptual OKLCH sliders—to update all six spaces in real time.

Synced active palette across tools

Move freely between Generator, Visualizer, Contrast, Tailwind, and Vision without re-entering colors.

How state travels

Your active palette syncs automatically in browser storage across every module, and visiting any tool directly starts from a fresh harmonious palette.

Formats & privacy

Supported inputs
OKLCH Lightness, Chroma & Hue or Shared Active Palette
Outputs & exports
color(display-p3 ...), Safe sRGB Fallback & Progressive @supports CSS

Supports 3 to 8 active palette roles with unlimited local saves and exports—no account required.

All color math, simulations, and exports run locally in your browser while syncing your active palette across tools.

FAQ

Good to know.

A few answers before you get started.

On your device
Why does naive browser clipping change the hue of P3 colors?

Clamping individual linear RGB channels to [0, 1] alters the ratio between red, green, and blue—skewing vivid red-oranges toward magenta and vivid cyans toward blue. Perceptual mapping reduces OKLCH chroma while locking hue.

Does the progressive CSS rule degrade safely on older monitors?

Yes. Every browser receives the clean sRGB HEX variable first, and only browsers supporting both color(display-p3 ...) and a P3-capable screen apply the wide-gamut override.

How much wider is Display P3 than standard sRGB?

Display P3 covers roughly 25% more visible color volume than sRGB—most noticeably in vivid crimsons, oranges, emeralds, and cyans on modern OLED and Apple displays.

Why use perceptual OKLCH gamut mapping for the sRGB fallback?

Naive RGB channel clamping shifts hues (turning bright P3 red-orange toward yellow), whereas reducing OKLCH chroma preserves exact hue angle.

Language38

EnglishالعربيةFrançaisItalianoDeutschEspañolPortuguêsNederlandsРусскийTürkçe日本語中文हिन्दीBahasa IndonesiaBahasa Melayu한국어Tiếng ViệtไทยPolskiSvenskaУкраїнськаNorskবাংলাΕλληνικάفارسیاردوČeštinaDanskMagyarRomânăSuomiБългарскиFilipinoქართულიSlovenčinaAzərbaycancaעבריתSlovenščina