HSL in HEX: #F9FBFB
Auch bekannt als: Tailwind mist-50
Ergebnis
hsl(180.00 20.00% 98.04%) → #F9FBFB
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #f9fbfb. 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. input
H = 180.00°, S = 20.00%, L = 98.04%
2. C
C = (1 − |2L − 1|) × S = 0.00784
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00784 (H / 60° = 3.0000, sector 3)
4. m
m = L − C / 2 = 0.97648
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.00784, 0.00784) R = round((0.00000 + 0.97648) × 255) = 249 G = round((0.00784 + 0.97648) × 255) = 251 B = round((0.00784 + 0.97648) × 255) = 251
6. RGB → HEX
#F9FBFB
Alle Formate
- HEX
- #f9fbfb
- RGB
- rgb(249 251 251)
- RGB (legacy)
- rgb(249, 251, 251)
- HSL
- hsl(180.00 20.00% 98.04%) → hsl(180 20% 98%)
- HWB
- hwb(180 98% 2%)
- OKLCH
- oklch(0.987 0.002 197.1) · oklch(98.7% 0.002 197.1)
- OKLab
- oklab(0.987 -0.002 -0.001)
- Lab (D50)
- lab(98.46 -0.68 -0.24)
- LCH (D50)
- lch(98.46 0.73 199.65)
- Display P3
- color(display-p3 0.9779 0.9841 0.9842)
- Linear sRGB
- color(srgb-linear 0.9473 0.9647 0.9647)
Gamut: sRGB und Display P3
#F9FBFB 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.019, Display P3 von 0.020; diese Farbe nutzt 11 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #f9fbfb;
color: rgb(249 251 251);
color: hsl(180 20% 98%);
color: oklch(0.987 0.002 197.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.987 0.002 197.1);
}
/* arbitrary values */
class="text-[#f9fbfb] bg-[oklch(0.987_0.002_197.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9779 0.9841 0.9842); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f9fbfb calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- gray-50#F9FAFB
- mauve-50#FAFAFA
- stone-50#FAFAF9
- olive-50#FBFBF9
- slate-50#F8FAFC
- taupe-50#FBFAF9
- snow#FFFAFA
- ghostwhite#F8F8FF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FEFFFF · oklch(1.000 0.002 197.1) · ΔL +0.06
- #E5E7E7 · oklch(0.927 0.002 197.1) · ΔL −0.06