HSL in HEX: #778899
Auch bekannt als: CSS lightslategray, CSS lightslategrey
Ergebnis
hsl(210.00 14.29% 53.33%) → #778899
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #778899. 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 = 210.00°, S = 14.29%, L = 53.33%
2. C
C = (1 − |2L − 1|) × S = 0.13338
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.06669 (H / 60° = 3.5000, sector 3)
4. m
m = L − C / 2 = 0.46661
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.06669, 0.13338) R = round((0.00000 + 0.46661) × 255) = 119 G = round((0.06669 + 0.46661) × 255) = 136 B = round((0.13338 + 0.46661) × 255) = 153
6. RGB → HEX
#778899
Alle Formate
- HEX
- #778899
- RGB
- rgb(119 136 153)
- RGB (legacy)
- rgb(119, 136, 153)
- HSL
- hsl(210.00 14.29% 53.33%) → hsl(210 14% 53%)
- HWB
- hwb(210 47% 40%)
- OKLCH
- oklch(0.619 0.033 248.4) · oklch(61.9% 0.033 248.4)
- OKLab
- oklab(0.619 -0.012 -0.030)
- Lab (D50)
- lab(55.77 -3.45 -11.29)
- LCH (D50)
- lch(55.77 11.80 253.02)
- Display P3
- color(display-p3 0.4794 0.5313 0.5935)
- Linear sRGB
- color(srgb-linear 0.1845 0.2462 0.3185)
Gamut: sRGB und Display P3
#778899 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.168, Display P3 von 0.217; diese Farbe nutzt 19 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #778899;
color: rgb(119 136 153);
color: hsl(210 14% 53%);
color: oklch(0.619 0.033 248.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.619 0.033 248.4);
}
/* arbitrary values */
class="text-[#778899] bg-[oklch(0.619_0.033_248.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4794 0.5313 0.5935); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #778899 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- slategray#708090
- gray#808080
- mist-500#67787C
- cadetblue#5F9EA0
- v3 slate-500#64748B
- slate-500#62748E
- gray-500#6A7282
- v3 gray-500#6B7280
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #899AAC · oklch(0.679 0.033 248.4) · ΔL +0.06
- #667687 · oklch(0.559 0.033 248.4) · ΔL −0.06