HSL in HEX: #F5F5F5
Auch bekannt als: Tailwind neutral-100, Tailwind v3 neutral-100, CSS whitesmoke
Ergebnis
hsl(0.00 0.00% 96.08%) → #F5F5F5
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #f5f5f5. 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 = 0.00°, S = 0.00%, L = 96.08%
2. C
C = (1 − |2L − 1|) × S = 0.00000
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00000 (H / 60° = 0.0000, sector 0)
4. m
m = L − C / 2 = 0.96080
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.00000, 0.00000) R = round((0.00000 + 0.96080) × 255) = 245 G = round((0.00000 + 0.96080) × 255) = 245 B = round((0.00000 + 0.96080) × 255) = 245
6. RGB → HEX
#F5F5F5
Alle Formate
- HEX
- #f5f5f5
- RGB
- rgb(245 245 245)
- RGB (legacy)
- rgb(245, 245, 245)
- HSL
- hsl(0.00 0.00% 96.08%) → hsl(0 0% 96%)
- HWB
- hwb(0 96% 4%)
- OKLCH
- oklch(0.970 0.000 0.0) · oklch(97.0% 0.000 0.0)
- OKLab
- oklab(0.970 0.000 0.000)
- Lab (D50)
- lab(96.54 0.00 0.00)
- LCH (D50)
- lch(96.54 0.00 0.00)
- Display P3
- color(display-p3 0.9608 0.9608 0.9608)
- Linear sRGB
- color(srgb-linear 0.9131 0.9131 0.9131)
Gamut: sRGB und Display P3
#F5F5F5 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.016, Display P3 von 0.021; diese Farbe nutzt 0 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #f5f5f5;
color: rgb(245 245 245);
color: hsl(0 0% 96%);
color: oklch(0.970 0.000 0.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.970 0.000 0.0);
}
/* arbitrary values */
class="text-[#f5f5f5] bg-[oklch(0.970_0.000_0.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9608 0.9608 0.9608); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f5f5f5 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- stone-100#F5F5F4
- zinc-100#F4F4F5
- gray-100#F3F4F6
- olive-100#F4F4F0
- slate-100#F1F5F9
- mist-100#F1F3F3
- mauve-100#F3F1F3
- taupe-100#F3F1F1
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFFFFF · oklch(1.000 0.000 0.0) · ΔL +0.06
- #E1E1E1 · oklch(0.910 0.000 0.0) · ΔL −0.06