HSL in HEX: #4B5563
Auch bekannt als: Tailwind v3 gray-600
Ergebnis
hsl(215.00 13.79% 34.12%) → #4B5563
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #4b5563. 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 = 215.00°, S = 13.79%, L = 34.12%
2. C
C = (1 − |2L − 1|) × S = 0.09410
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.03921 (H / 60° = 3.5833, sector 3)
4. m
m = L − C / 2 = 0.29415
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.03921, 0.09410) R = round((0.00000 + 0.29415) × 255) = 75 G = round((0.03921 + 0.29415) × 255) = 85 B = round((0.09410 + 0.29415) × 255) = 99
6. RGB → HEX
#4B5563
Alle Formate
- HEX
- #4b5563
- RGB
- rgb(75 85 99)
- RGB (legacy)
- rgb(75, 85, 99)
- HSL
- hsl(215.00 13.79% 34.12%) → hsl(215 14% 34%)
- HWB
- hwb(215 29% 61%)
- OKLCH
- oklch(0.446 0.026 256.8) · oklch(44.6% 0.026 256.8)
- OKLab
- oklab(0.446 -0.006 -0.026)
- Lab (D50)
- lab(35.66 -1.46 -9.54)
- LCH (D50)
- lch(35.66 9.65 261.29)
- Display P3
- color(display-p3 0.3015 0.3321 0.3832)
- Linear sRGB
- color(srgb-linear 0.0704 0.0908 0.1248)
Gamut: sRGB und Display P3
#4B5563 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.157, Display P3 von 0.200; diese Farbe nutzt 17 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #4b5563;
color: rgb(75 85 99);
color: hsl(215 14% 34%);
color: oklch(0.446 0.026 256.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.446 0.026 256.8);
}
/* arbitrary values */
class="text-[#4b5563] bg-[oklch(0.446_0.026_256.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3015 0.3321 0.3832); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #4b5563 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- gray-600#4A5565
- v3 slate-600#475569
- zinc-600#52525C
- v3 zinc-600#52525B
- slate-600#45556C
- mist-600#4B585B
- neutral-600#525252
- mauve-600#594C5B
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #5C6674 · oklch(0.506 0.026 256.8) · ΔL +0.06
- #3B4552 · oklch(0.386 0.026 256.8) · ΔL −0.06