HEX in OKLCH: #E8E4E3
Auch bekannt als: Tailwind taupe-200
Ergebnis
#E8E4E3 → oklch(0.922 0.005 34.3)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #e8e4e3. 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: 232/255 = 0.90980 → 0.806952 (((x + 0.055) / 1.055)^2.4) G: 228/255 = 0.89412 → 0.775822 (((x + 0.055) / 1.055)^2.4) B: 227/255 = 0.89020 → 0.768151 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.788260 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.781595 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.773738
3. cube root
l′ = ∛0.788260 = 0.923754 m′ = ∛0.781595 = 0.921143 s′ = ∛0.773738 = 0.918047
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.92171 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.00377 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.00257
5. Oklab → OKLCH
C = √(a² + b²) = 0.00456 H = atan2(b, a) = 34.309° L = 0.92171
6. OKLCH
oklch(0.92171 0.00456 34.309) rounded: oklch(0.922 0.005 34.3)
Alle Formate
- HEX
- #e8e4e3
- RGB
- rgb(232 228 227)
- RGB (legacy)
- rgb(232, 228, 227)
- HSL
- hsl(12.00 9.80% 90.00%) → hsl(12 10% 90%)
- HWB
- hwb(12 89% 9%)
- OKLCH
- oklch(0.922 0.005 34.3) · oklch(92.2% 0.005 34.3)
- OKLab
- oklab(0.922 0.004 0.003)
- Lab (D50)
- lab(90.88 1.27 0.99)
- LCH (D50)
- lch(90.88 1.61 38.05)
- Display P3
- color(display-p3 0.9070 0.8946 0.8908)
- Linear sRGB
- color(srgb-linear 0.8070 0.7758 0.7682)
Gamut: sRGB und Display P3
#E8E4E3 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.041, Display P3 von 0.053; diese Farbe nutzt 11 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #e8e4e3;
color: rgb(232 228 227);
color: hsl(12 10% 90%);
color: oklch(0.922 0.005 34.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.922 0.005 34.3);
}
/* arbitrary values */
class="text-[#e8e4e3] bg-[oklch(0.922_0.005_34.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9070 0.8946 0.8908); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e8e4e3 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- stone-200#E7E5E4
- 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
- #FCF8F7 · oklch(0.982 0.005 34.3) · ΔL +0.06
- #D4D0CF · oklch(0.862 0.005 34.3) · ΔL −0.06