OKLCH in HEX: #F7FEE7

Noto anche come: Tailwind lime-50, Tailwind v3 lime-50

Risultato

oklch(0.98568 0.03097 120.757) → #F7FEE7

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #f7fee7. 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.98568 0.03097 120.757)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.01584
    b = C·sin H = 0.02661
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.985146
    m′ = L − 0.1056·a − 0.0639·b = 0.985652
    s′ = L − 0.0895·a − 1.2915·b = 0.952726
  4. 4. cube

    l = 0.985146³ = 0.956097
    m = 0.985652³ = 0.957572
    s = 0.952726³ = 0.864776
  5. 5. LMS → linear sRGB

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

    R = 0.96863 × 255 = 247.00 → 247
    G = 0.99608 × 255 = 254.00 → 254
    B = 0.90589 × 255 = 231.00 → 231
  7. 7. RGB → HEX

    #F7FEE7

Tutti i formati

HEX
#f7fee7
RGB
rgb(247 254 231)
RGB (legacy)
rgb(247, 254, 231)
HSL
hsl(78.26 92.00% 95.10%) → hsl(78 92% 95%)
HWB
hwb(78 91% 0%)
OKLCH
oklch(0.986 0.031 120.8) · oklch(98.6% 0.031 120.8)
OKLab
oklab(0.986 -0.016 0.027)
Lab (D50)
lab(98.67 -5.32 10.21)
LCH (D50)
lch(98.67 11.51 117.54)
Display P3
color(display-p3 0.9736 0.9952 0.9139)
Linear sRGB
color(srgb-linear 0.9301 0.9911 0.7991)

Gamut: sRGB e Display P3

#F7FEE7 è 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.040 e Display P3 a 0.042; questo colore usa il 78% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #f7fee7;
  color: rgb(247 254 231);
  color: hsl(78 92% 95%);
  color: oklch(0.986 0.031 120.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.986 0.031 120.8);
}
/* arbitrary values */
class="text-[#f7fee7] bg-[oklch(0.986_0.031_120.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9736 0.9952 0.9139); }
}

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

  • #FCFFEC · oklch(1.000 0.031 120.8) · ΔL +0.06
  • #E3EAD3 · oklch(0.926 0.031 120.8) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →