HEX in HSL: #708090
Auch bekannt als: CSS slategray, CSS slategrey
Ergebnis
#708090 → hsl(210 13% 50%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #708090. 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.4392 G = 0.5020 B = 0.5647
2. max, min, Δ
max = 0.5647 min = 0.4392 Δ = max − min = 0.1255
3. L
L = (max + min) / 2 = 0.5020 = 50.20%
4. S
S = Δ / (1 − |2L − 1|) = 0.1260 = 12.60%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.4392 − 0.5020) / 0.1255 + 4) = 210.00°
6. HSL
hsl(210.00 12.60% 50.20%)
Alle Formate
- HEX
- #708090
- RGB
- rgb(112 128 144)
- RGB (legacy)
- rgb(112, 128, 144)
- HSL
- hsl(210.00 12.60% 50.20%) → hsl(210 13% 50%)
- HWB
- hwb(210 44% 44%)
- OKLCH
- oklch(0.593 0.031 248.3) · oklch(59.3% 0.031 248.3)
- OKLab
- oklab(0.593 -0.011 -0.029)
- Lab (D50)
- lab(52.70 -3.28 -10.74)
- LCH (D50)
- lch(52.70 11.23 253.00)
- Display P3
- color(display-p3 0.4512 0.5000 0.5586)
- Linear sRGB
- color(srgb-linear 0.1620 0.2159 0.2789)
Gamut: sRGB und Display P3
#708090 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.161, Display P3 von 0.208; diese Farbe nutzt 19 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #708090;
color: rgb(112 128 144);
color: hsl(210 13% 50%);
color: oklch(0.593 0.031 248.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.593 0.031 248.3);
}
/* arbitrary values */
class="text-[#708090] bg-[oklch(0.593_0.031_248.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4512 0.5000 0.5586); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #708090 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lightslategray#778899
- gray#808080
- mist-500#67787C
- v3 slate-500#64748B
- slate-500#62748E
- gray-500#6A7282
- v3 gray-500#6B7280
- zinc-500#71717B
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #8292A2 · oklch(0.653 0.031 248.3) · ΔL +0.06
- #5F6E7E · oklch(0.532 0.031 248.3) · ΔL −0.06