HEX in OKLCH: #E7E5E4
Auch bekannt als: Tailwind stone-200, Tailwind v3 stone-200
Ergebnis
#E7E5E4 → oklch(0.923 0.003 48.7)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #e7e5e4. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. sRGB → linear
R: 231/255 = 0.90588 → 0.799103 (((x + 0.055) / 1.055)^2.4) G: 229/255 = 0.89804 → 0.783538 (((x + 0.055) / 1.055)^2.4) B: 228/255 = 0.89412 → 0.775822 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.789557 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.786007 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.780052
3. cube root
l′ = ∛0.789557 = 0.924261 m′ = ∛0.786007 = 0.922874 s′ = ∛0.780052 = 0.920537
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.92318 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.00169 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.00193
5. Oklab → OKLCH
C = √(a² + b²) = 0.00256 H = atan2(b, a) = 48.717° L = 0.92318
6. OKLCH
oklch(0.92318 0.00256 48.717) rounded: oklch(0.923 0.003 48.7)
Alle Formate
- HEX
- #e7e5e4
- RGB
- rgb(231 229 228)
- RGB (legacy)
- rgb(231, 229, 228)
- HSL
- hsl(20.00 5.88% 90.00%) → hsl(20 6% 90%)
- HWB
- hwb(20 89% 9%)
- OKLCH
- oklch(0.923 0.003 48.7) · oklch(92.3% 0.003 48.7)
- OKLab
- oklab(0.923 0.002 0.002)
- Lab (D50)
- lab(91.08 0.57 0.74)
- LCH (D50)
- lch(91.08 0.93 52.55)
- Display P3
- color(display-p3 0.9045 0.8983 0.8946)
- Linear sRGB
- color(srgb-linear 0.7991 0.7835 0.7758)
Gamut: sRGB und Display P3
#E7E5E4 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.043, Display P3 von 0.056; diese Farbe nutzt 6 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #e7e5e4;
color: rgb(231 229 228);
color: hsl(20 6% 90%);
color: oklch(0.923 0.003 48.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.923 0.003 48.7);
}
/* arbitrary values */
class="text-[#e7e5e4] bg-[oklch(0.923_0.003_48.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9045 0.8983 0.8946); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e7e5e4 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- taupe-200#E8E4E3
- neutral-200#E5E5E5
- mauve-200#E7E4E7
- zinc-200#E4E4E7
- mist-200#E3E7E8
- olive-200#E8E8E3
- gray-200#E5E7EB
- slate-200#E2E8F0
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FBF9F8 · oklch(0.983 0.003 48.7) · ΔL +0.06
- #D3D1D0 · oklch(0.863 0.003 48.7) · ΔL −0.06