HSL in HEX: #4B585B
Auch bekannt als: Tailwind mist-600
Ergebnis
hsl(191.25 9.64% 32.55%) → #4B585B
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #4b585b. 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 = 191.25°, S = 9.64%, L = 32.55%
2. C
C = (1 − |2L − 1|) × S = 0.06276
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.05099 (H / 60° = 3.1875, sector 3)
4. m
m = L − C / 2 = 0.29412
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.05099, 0.06276) R = round((0.00000 + 0.29412) × 255) = 75 G = round((0.05099 + 0.29412) × 255) = 88 B = round((0.06276 + 0.29412) × 255) = 91
6. RGB → HEX
#4B585B
Alle Formate
- HEX
- #4b585b
- RGB
- rgb(75 88 91)
- RGB (legacy)
- rgb(75, 88, 91)
- HSL
- hsl(191.25 9.64% 32.55%) → hsl(191 10% 33%)
- HWB
- hwb(191 29% 64%)
- OKLCH
- oklch(0.450 0.017 213.2) · oklch(45.0% 0.017 213.2)
- OKLab
- oklab(0.450 -0.014 -0.009)
- Lab (D50)
- lab(36.36 -4.71 -3.54)
- LCH (D50)
- lch(36.36 5.89 216.95)
- Display P3
- color(display-p3 0.3039 0.3435 0.3551)
- Linear sRGB
- color(srgb-linear 0.0704 0.0976 0.1046)
Gamut: sRGB und Display P3
#4B585B 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.079, Display P3 von 0.105; diese Farbe nutzt 22 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #4b585b;
color: rgb(75 88 91);
color: hsl(191 10% 33%);
color: oklch(0.450 0.017 213.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.450 0.017 213.2);
}
/* arbitrary values */
class="text-[#4b585b] bg-[oklch(0.450_0.017_213.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3039 0.3435 0.3551); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #4b585b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 gray-600#4B5563
- v3 zinc-600#52525B
- neutral-600#525252
- zinc-600#52525C
- gray-600#4A5565
- v3 stone-600#57534E
- stone-600#57534D
- v3 slate-600#475569
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #5C696C · oklch(0.510 0.017 213.2) · ΔL +0.06
- #3B484B · oklch(0.390 0.017 213.2) · ΔL −0.06