HEX in HSL: #FFF5EE
Auch bekannt als: CSS seashell
Ergebnis
#FFF5EE → hsl(25 100% 97%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fff5ee. 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 = 1.0000 G = 0.9608 B = 0.9333
2. max, min, Δ
max = 1.0000 min = 0.9333 Δ = max − min = 0.0667
3. L
L = (max + min) / 2 = 0.9667 = 96.67%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9608 − 0.9333) / 0.0667) mod 6) = 24.71°
6. HSL
hsl(24.71 100.00% 96.67%)
Alle Formate
- HEX
- #fff5ee
- RGB
- rgb(255 245 238)
- RGB (legacy)
- rgb(255, 245, 238)
- HSL
- hsl(24.71 100.00% 96.67%) → hsl(25 100% 97%)
- HWB
- hwb(25 93% 0%)
- OKLCH
- oklch(0.976 0.014 57.6) · oklch(97.6% 0.014 57.6)
- OKLab
- oklab(0.976 0.008 0.012)
- Lab (D50)
- lab(97.18 2.59 4.64)
- LCH (D50)
- lch(97.18 5.31 60.82)
- Display P3
- color(display-p3 0.9932 0.9621 0.9365)
- Linear sRGB
- color(srgb-linear 1.0000 0.9131 0.8550)
Gamut: sRGB und Display P3
#FFF5EE 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.014, Display P3 von 0.018; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #fff5ee;
color: rgb(255 245 238);
color: hsl(25 100% 97%);
color: oklch(0.976 0.014 57.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.976 0.014 57.6);
}
/* arbitrary values */
class="text-[#fff5ee] bg-[oklch(0.976_0.014_57.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9932 0.9621 0.9365); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fff5ee calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- orange-50#FFF7ED
- red-50#FEF2F2
- oldlace#FDF5E6
- floralwhite#FFFAF0
- rose-50#FFF1F2
- stone-100#F5F5F4
- olive-100#F4F4F0
- neutral-100#F5F5F5
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFFDF6 · oklch(1.000 0.014 57.6) · ΔL +0.06
- #EBE1DA · oklch(0.916 0.014 57.6) · ΔL −0.06