HEX in HSL: #E7E4E7
Auch bekannt als: Tailwind mauve-200
Ergebnis
#E7E4E7 → hsl(300 6% 90%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #e7e4e7. 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.9059 G = 0.8941 B = 0.9059
2. max, min, Δ
max = 0.9059 min = 0.8941 Δ = max − min = 0.0118
3. L
L = (max + min) / 2 = 0.9000 = 90.00%
4. S
S = Δ / (1 − |2L − 1|) = 0.0588 = 5.88%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.8941 − 0.9059) / 0.0118) mod 6) = 300.00°
6. HSL
hsl(300.00 5.88% 90.00%)
Alle Formate
- HEX
- #e7e4e7
- RGB
- rgb(231 228 231)
- RGB (legacy)
- rgb(231, 228, 231)
- HSL
- hsl(300.00 5.88% 90.00%) → hsl(300 6% 90%)
- HWB
- hwb(300 89% 9%)
- OKLCH
- oklch(0.922 0.005 325.6) · oklch(92.2% 0.005 325.6)
- OKLab
- oklab(0.922 0.004 -0.003)
- Lab (D50)
- lab(90.89 1.45 -1.09)
- LCH (D50)
- lch(90.89 1.81 323.02)
- Display P3
- color(display-p3 0.9038 0.8945 0.9050)
- Linear sRGB
- color(srgb-linear 0.7991 0.7758 0.7991)
Gamut: sRGB und Display P3
#E7E4E7 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.070, Display P3 von 0.078; diese Farbe nutzt 7 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #e7e4e7;
color: rgb(231 228 231);
color: hsl(300 6% 90%);
color: oklch(0.922 0.005 325.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.922 0.005 325.6);
}
/* arbitrary values */
class="text-[#e7e4e7] bg-[oklch(0.922_0.005_325.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9038 0.8945 0.9050); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e7e4e7 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- zinc-200#E4E4E7
- neutral-200#E5E5E5
- taupe-200#E8E4E3
- stone-200#E7E5E4
- gray-200#E5E7EB
- mist-200#E3E7E8
- olive-200#E8E8E3
- slate-200#E2E8F0
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FBF8FB · oklch(0.982 0.005 325.6) · ΔL +0.06
- #D3D0D3 · oklch(0.862 0.005 325.6) · ΔL −0.06