HEX in HSL: #FAFAF9

Auch bekannt als: Tailwind stone-50, Tailwind v3 stone-50

Ergebnis

#FAFAF9 → hsl(60 9% 98%)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fafaf9. 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. RGB ÷ 255

    R = 0.9804
    G = 0.9804
    B = 0.9765
  2. 2. max, min, Δ

    max = 0.9804
    min = 0.9765
    Δ = max − min = 0.0039
  3. 3. L

    L = (max + min) / 2 = 0.9784 = 97.84%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.0909 = 9.09%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9804 − 0.9765) / 0.0039) mod 6) = 60.00°
  6. 6. HSL

    hsl(60.00 9.09% 97.84%)

Alle Formate

HEX
#fafaf9
RGB
rgb(250 250 249)
RGB (legacy)
rgb(250, 250, 249)
HSL
hsl(60.00 9.09% 97.84%) → hsl(60 9% 98%)
HWB
hwb(60 98% 2%)
OKLCH
oklch(0.985 0.001 106.4) · oklch(98.5% 0.001 106.4)
OKLab
oklab(0.985 0.000 0.001)
Lab (D50)
lab(98.25 -0.13 0.48)
LCH (D50)
lch(98.25 0.50 105.22)
Display P3
color(display-p3 0.9804 0.9804 0.9768)
Linear sRGB
color(srgb-linear 0.9560 0.9560 0.9473)

Gamut: sRGB und Display P3

#FAFAF9 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.066, Display P3 von 0.068; diese Farbe nutzt 2 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #fafaf9;
  color: rgb(250 250 249);
  color: hsl(60 9% 98%);
  color: oklch(0.985 0.001 106.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.985 0.001 106.4);
}
/* arbitrary values */
class="text-[#fafaf9] bg-[oklch(0.985_0.001_106.4)]"

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

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

  • #FFFFFE · oklch(1.000 0.001 106.4) · ΔL +0.06
  • #E6E6E5 · oklch(0.925 0.001 106.4) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →