OKLCH in HEX: #E8E8E3

Noto anche come: Tailwind olive-200

Risultato

oklch(0.92960 0.00668 106.529) → #E8E8E3

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #e8e8e3. La forma arrotondata è quella che di solito incolli nel CSS.

Calcolo passo passo

Ogni numero è calcolato dall’input, nulla viene cercato in tabelle.

  1. 1. input

    oklch(0.92960 0.00668 106.529)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.00190
    b = C·sin H = 0.00640
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.930229
    m′ = L − 0.1056·a − 0.0639·b = 0.929392
    s′ = L − 0.0895·a − 1.2915·b = 0.921499
  4. 4. cube

    l = 0.930229³ = 0.804951
    m = 0.929392³ = 0.802780
    s = 0.921499³ = 0.782502
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.806947
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.806947
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.768143
  6. 6. linear → sRGB, × 255

    R = 0.90980 × 255 = 232.00 → 232
    G = 0.90980 × 255 = 232.00 → 232
    B = 0.89019 × 255 = 227.00 → 227
  7. 7. RGB → HEX

    #E8E8E3

Tutti i formati

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 e Display P3

#E8E8E3 è un colore esadecimale, quindi sta dentro sRGB e di conseguenza dentro Display P3. A questa luminosità e tonalità sRGB arriva a una croma di 0.199 e Display P3 a 0.231; questo colore usa il 3% della croma sRGB disponibile.

Snippet CSS

.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); }

Colori vicini

I colori più vicini nelle palette Tailwind e CSS (distanza OKLab).

Più chiaro e più scuro, stessa tonalità e croma

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

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →