OKLCH in HEX: #E3E7E8

Noto anche come: Tailwind mist-200

Risultato

oklch(0.92520 0.00453 214.330) → #E3E7E8

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #e3e7e8. 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.92520 0.00453 214.330)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.00374
    b = C·sin H = -0.00255
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.923166
    m′ = L − 0.1056·a − 0.0639·b = 0.925758
    s′ = L − 0.0895·a − 1.2915·b = 0.928834
  4. 4. cube

    l = 0.923166³ = 0.786755
    m = 0.925758³ = 0.793400
    s = 0.928834³ = 0.801336
  5. 5. LMS → linear sRGB

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

    R = 0.89019 × 255 = 227.00 → 227
    G = 0.90589 × 255 = 231.00 → 231
    B = 0.90982 × 255 = 232.00 → 232
  7. 7. RGB → HEX

    #E3E7E8

Tutti i formati

HEX
#e3e7e8
RGB
rgb(227 231 232)
RGB (legacy)
rgb(227, 231, 232)
HSL
hsl(192.00 9.80% 90.00%) → hsl(192 10% 90%)
HWB
hwb(192 89% 9%)
OKLCH
oklch(0.925 0.005 214.3) · oklch(92.5% 0.005 214.3)
OKLab
oklab(0.925 -0.004 -0.003)
Lab (D50)
lab(91.36 -1.25 -0.98)
LCH (D50)
lch(91.36 1.59 218.08)
Display P3
color(display-p3 0.8930 0.9054 0.9092)
Linear sRGB
color(srgb-linear 0.7682 0.7991 0.8070)

Gamut: sRGB e Display P3

#E3E7E8 è 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.060 e Display P3 a 0.065; questo colore usa il 8% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #e3e7e8;
  color: rgb(227 231 232);
  color: hsl(192 10% 90%);
  color: oklch(0.925 0.005 214.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.925 0.005 214.3);
}
/* arbitrary values */
class="text-[#e3e7e8] bg-[oklch(0.925_0.005_214.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8930 0.9054 0.9092); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e3e7e8 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

  • #F7FBFC · oklch(0.985 0.005 214.3) · ΔL +0.06
  • #CFD3D4 · oklch(0.865 0.005 214.3) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →