HEX in OKLCH: #09090B

Auch bekannt als: Tailwind zinc-950, Tailwind v3 zinc-950

Ergebnis

#09090B → oklch(0.141 0.004 285.8)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #09090b. Die gerundete Form fügst du üblicherweise in CSS ein.

Rechenweg Schritt für Schritt

Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.

  1. 1. sRGB → linear

    R: 9/255 = 0.03529 → 0.002732  (÷ 12.92)
    G: 9/255 = 0.03529 → 0.002732  (÷ 12.92)
    B: 11/255 = 0.04314 → 0.003347  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.002763
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.002798
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.003119
  3. 3. cube root

    l′ = ∛0.002763 = 0.140329
    m′ = ∛0.002798 = 0.140909
    s′ = ∛0.003119 = 0.146108
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.14077
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.00120
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.00422
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.00439
    H = atan2(b, a) = 285.823°
    L = 0.14077
  6. 6. OKLCH

    oklch(0.14077 0.00439 285.823)
    rounded: oklch(0.141 0.004 285.8)

Alle Formate

HEX
#09090b
RGB
rgb(9 9 11)
RGB (legacy)
rgb(9, 9, 11)
HSL
hsl(240.00 10.00% 3.92%) → hsl(240 10% 4%)
HWB
hwb(240 4% 96%)
OKLCH
oklch(0.141 0.004 285.8) · oklch(14.1% 0.004 285.8)
OKLab
oklab(0.141 0.001 -0.004)
Lab (D50)
lab(2.50 0.21 -0.77)
LCH (D50)
lch(2.50 0.80 285.25)
Display P3
color(display-p3 0.0353 0.0353 0.0425)
Linear sRGB
color(srgb-linear 0.0027 0.0027 0.0033)

Gamut: sRGB und Display P3

#09090B ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.082, Display P3 von 0.083; diese Farbe nutzt 5 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #09090b;
  color: rgb(9 9 11);
  color: hsl(240 10% 4%);
  color: oklch(0.141 0.004 285.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.141 0.004 285.8);
}
/* arbitrary values */
class="text-[#09090b] bg-[oklch(0.141_0.004_285.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.0353 0.0353 0.0425); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #09090b calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #161618 · oklch(0.201 0.004 285.8) · ΔL +0.06
  • #020202 · oklch(0.081 0.004 285.8) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →