HEX in HSL: #594C5B
Auch bekannt als: Tailwind mauve-600
Ergebnis
#594C5B → hsl(292 9% 33%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #594c5b. 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.3490 G = 0.2980 B = 0.3569
2. max, min, Δ
max = 0.3569 min = 0.2980 Δ = max − min = 0.0588
3. L
L = (max + min) / 2 = 0.3275 = 32.75%
4. S
S = Δ / (1 − |2L − 1|) = 0.0898 = 8.98%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.3490 − 0.2980) / 0.0588 + 4) = 292.00°
6. HSL
hsl(292.00 8.98% 32.75%)
Alle Formate
- HEX
- #594c5b
- RGB
- rgb(89 76 91)
- RGB (legacy)
- rgb(89, 76, 91)
- HSL
- hsl(292.00 8.98% 32.75%) → hsl(292 9% 33%)
- HWB
- hwb(292 30% 64%)
- OKLCH
- oklch(0.435 0.029 321.8) · oklch(43.5% 0.029 321.8)
- OKLab
- oklab(0.435 0.023 -0.018)
- Lab (D50)
- lab(34.06 7.92 -6.74)
- LCH (D50)
- lch(34.06 10.41 319.60)
- Display P3
- color(display-p3 0.3406 0.2999 0.3529)
- Linear sRGB
- color(srgb-linear 0.0999 0.0723 0.1046)
Gamut: sRGB und Display P3
#594C5B 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.207, Display P3 von 0.224; diese Farbe nutzt 14 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #594c5b;
color: rgb(89 76 91);
color: hsl(292 9% 33%);
color: oklch(0.435 0.029 321.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.435 0.029 321.8);
}
/* arbitrary values */
class="text-[#594c5b] bg-[oklch(0.435_0.029_321.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3406 0.2999 0.3529); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #594c5b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- zinc-600#52525C
- v3 zinc-600#52525B
- neutral-600#525252
- taupe-600#5B4F4B
- v3 gray-600#4B5563
- gray-600#4A5565
- v3 stone-600#57534E
- stone-600#57534D
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #6A5D6C · oklch(0.495 0.029 321.8) · ΔL +0.06
- #493C4B · oklch(0.375 0.029 321.8) · ΔL −0.06