OKLCH in HEX: #E9967A

Noto anche come: CSS darksalmon

Risultato

oklch(0.75074 0.10818 39.394) → #E9967A

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #e9967a. 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.75074 0.10818 39.394)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.08360
    b = C·sin H = 0.06866
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.798691
    m′ = L − 0.1056·a − 0.0639·b = 0.737531
    s′ = L − 0.0895·a − 1.2915·b = 0.654590
  4. 4. cube

    l = 0.798691³ = 0.509490
    m = 0.737531³ = 0.401181
    s = 0.654590³ = 0.280484
  5. 5. LMS → linear sRGB

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

    R = 0.91373 × 255 = 233.00 → 233
    G = 0.58824 × 255 = 150.00 → 150
    B = 0.47844 × 255 = 122.00 → 122
  7. 7. RGB → HEX

    #E9967A

Tutti i formati

HEX
#e9967a
RGB
rgb(233 150 122)
RGB (legacy)
rgb(233, 150, 122)
HSL
hsl(15.14 71.61% 69.61%) → hsl(15 72% 70%)
HWB
hwb(15 48% 9%)
OKLCH
oklch(0.751 0.108 39.4) · oklch(75.1% 0.108 39.4)
OKLab
oklab(0.751 0.084 0.069)
Lab (D50)
lab(70.30 29.89 28.41)
LCH (D50)
lch(70.30 41.23 43.54)
Display P3
color(display-p3 0.8673 0.6029 0.4991)
Linear sRGB
color(srgb-linear 0.8148 0.3050 0.1946)

Gamut: sRGB e Display P3

#E9967A è 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.155 e Display P3 a 0.197; questo colore usa il 70% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #e9967a;
  color: rgb(233 150 122);
  color: hsl(15 72% 70%);
  color: oklch(0.751 0.108 39.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.751 0.108 39.4);
}
/* arbitrary values */
class="text-[#e9967a] bg-[oklch(0.751_0.108_39.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8673 0.6029 0.4991); }
}

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

  • #FEA98C · oklch(0.811 0.108 39.4) · ΔL +0.06
  • #D58368 · oklch(0.691 0.108 39.4) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →