HEX in HSL: #E8E8E3

Auch bekannt als: Tailwind olive-200

Ergebnis

#E8E8E3 → hsl(60 10% 90%)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #e8e8e3. 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. 1. RGB ÷ 255

    R = 0.9098
    G = 0.9098
    B = 0.8902
  2. 2. max, min, Δ

    max = 0.9098
    min = 0.8902
    Δ = max − min = 0.0196
  3. 3. L

    L = (max + min) / 2 = 0.9000 = 90.00%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.0980 = 9.80%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9098 − 0.8902) / 0.0196) mod 6) = 60.00°
  6. 6. HSL

    hsl(60.00 9.80% 90.00%)

Alle Formate

HEX
#e8e8e3
RGB
rgb(232 232 227)
RGB (legacy)
rgb(232, 232, 227)
HSL
hsl(60.00 9.80% 90.00%) → hsl(60 10% 90%)
HWB
hwb(60 89% 9%)
OKLCH
oklch(0.930 0.007 106.5) · oklch(93.0% 0.007 106.5)
OKLab
oklab(0.930 -0.002 0.006)
Lab (D50)
lab(91.89 -0.66 2.44)
LCH (D50)
lch(91.89 2.53 105.08)
Display P3
color(display-p3 0.9098 0.9098 0.8920)
Linear sRGB
color(srgb-linear 0.8070 0.8070 0.7682)

Gamut: sRGB und Display P3

#E8E8E3 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.199, Display P3 von 0.231; diese Farbe nutzt 3 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #e8e8e3;
  color: rgb(232 232 227);
  color: hsl(60 10% 90%);
  color: oklch(0.930 0.007 106.5);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.930 0.007 106.5);
}
/* arbitrary values */
class="text-[#e8e8e3] bg-[oklch(0.930_0.007_106.5)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9098 0.9098 0.8920); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e8e8e3 calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #FCFCF7 · oklch(0.990 0.007 106.5) · ΔL +0.06
  • #D4D4CF · oklch(0.870 0.007 106.5) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →