OKLCH in HEX: #007595

Noto anche come: Tailwind cyan-700

Risultato

oklch(0.52338 0.09946 225.325) → #007595

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #007595. 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.52338 0.09946 225.325)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.06993
    b = C·sin H = -0.07073
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.480402
    m′ = L − 0.1056·a − 0.0639·b = 0.535278
    s′ = L − 0.0895·a − 1.2915·b = 0.620980
  4. 4. cube

    l = 0.480402³ = 0.110870
    m = 0.535278³ = 0.153369
    s = 0.620980³ = 0.239460
  5. 5. LMS → linear sRGB

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

    R = 0.00000 × 255 = 0.00 → 0
    G = 0.45883 × 255 = 117.00 → 117
    B = 0.58433 × 255 = 149.00 → 149
  7. 7. RGB → HEX

    #007595

Tutti i formati

HEX
#007595
RGB
rgb(0 117 149)
RGB (legacy)
rgb(0, 117, 149)
HSL
hsl(192.89 100.00% 29.22%) → hsl(193 100% 29%)
HWB
hwb(193 0% 42%)
OKLCH
oklch(0.523 0.099 225.3) · oklch(52.3% 0.099 225.3)
OKLab
oklab(0.523 -0.070 -0.071)
Lab (D50)
lab(45.05 -19.53 -25.75)
LCH (D50)
lch(45.05 32.32 232.83)
Display P3
color(display-p3 0.1950 0.4516 0.5717)
Linear sRGB
color(srgb-linear 0.0000 0.1779 0.3005)

Gamut: sRGB e Display P3

#007595 è 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.099 e Display P3 a 0.131; questo colore usa il 100% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #007595;
  color: rgb(0 117 149);
  color: hsl(193 100% 29%);
  color: oklch(0.523 0.099 225.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.523 0.099 225.3);
}
/* arbitrary values */
class="text-[#007595] bg-[oklch(0.523_0.099_225.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.1950 0.4516 0.5717); }
}

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

  • #2587A8 · oklch(0.583 0.099 225.3) · ΔL +0.06
  • #006383 · oklch(0.463 0.099 225.3) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →