HEX in HSL: #F0FDFA
Auch bekannt als: Tailwind teal-50, Tailwind v3 teal-50
Ergebnis
#F0FDFA → hsl(166 76% 97%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #f0fdfa. 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. RGB ÷ 255
R = 0.9412 G = 0.9922 B = 0.9804
2. max, min, Δ
max = 0.9922 min = 0.9412 Δ = max − min = 0.0510
3. L
L = (max + min) / 2 = 0.9667 = 96.67%
4. S
S = Δ / (1 − |2L − 1|) = 0.7647 = 76.47%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.9804 − 0.9412) / 0.0510 + 2) = 166.15°
6. HSL
hsl(166.15 76.47% 96.67%)
Alle Formate
- HEX
- #f0fdfa
- RGB
- rgb(240 253 250)
- RGB (legacy)
- rgb(240, 253, 250)
- HSL
- hsl(166.15 76.47% 96.67%) → hsl(166 76% 97%)
- HWB
- hwb(166 94% 1%)
- OKLCH
- oklch(0.984 0.014 180.7) · oklch(98.4% 0.014 180.7)
- OKLab
- oklab(0.984 -0.014 0.000)
- Lab (D50)
- lab(98.27 -4.82 -0.11)
- LCH (D50)
- lch(98.27 4.82 181.35)
- Display P3
- color(display-p3 0.9505 0.9905 0.9806)
- Linear sRGB
- color(srgb-linear 0.8714 0.9823 0.9560)
Gamut: sRGB und Display P3
#F0FDFA 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.022, Display P3 von 0.026; diese Farbe nutzt 63 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #f0fdfa;
color: rgb(240 253 250);
color: hsl(166 76% 97%);
color: oklch(0.984 0.014 180.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.984 0.014 180.7);
}
/* arbitrary values */
class="text-[#f0fdfa] bg-[oklch(0.984_0.014_180.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9505 0.9905 0.9806); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f0fdfa calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- azure#F0FFFF
- cyan-50#ECFEFF
- green-50#F0FDF4
- mintcream#F5FFFA
- emerald-50#ECFDF5
- mist-50#F9FBFB
- slate-50#F8FAFC
- gray-50#F9FAFB
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #F5FFFF · oklch(1.000 0.014 180.7) · ΔL +0.06
- #DCE9E6 · oklch(0.924 0.014 180.7) · ΔL −0.06