Interactive CSS color-mix() Generator
Preview and copy standards-compliant CSS Color 5 color-mix() expressions across OKLCH, OKLab, and sRGB with hue interpolation controls.
0 bytes sent
- 100% browser-local
- Zero server transfers
- CSS Color 4 precision
or drop a color string, CSS/JSON snippet, or file here · Ctrl V to paste · Enter two Hex/OKLCH colors or inspect live contrast
Instant Before & After Specimen
Live CSS Color 5 color-mix() Output#2563EB
---
#F8FAFCcolor-mix(in oklch, #2563EB 75%, #F8FAFC)
/* Resolved: oklch(0.6552 0.1614 262.88) · #648DF6 */How to use CSS color-mix() Builder
CSS color-mix() Builder — cleanly inside your local browser with zero server transfers.
- Set foreground & backgroundEnter Hex, RGB, or OKLCH values for both colors or sample directly with the eyedropper.
- Evaluate scores & pathsInspect live WCAG 2.2 / APCA scores, CIEDE2000 distance, or OKLab gradient interpolation.
- Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.
Format specs:OKLCH (.css / .json)
Frequently asked questions
Which interpolation space avoids gray dead zones in color-mix()?
Choose in oklab or in oklch shorter hue for natural vibrant blends without washed-out gray midpoints.
Does Colr show the exact resolved Hex alongside the CSS expression?
Yes — see the resolved sRGB Hex, OKLCH coordinates, and live swatch side by side.