HEX in HSL: #394447
Auch bekannt als: Tailwind mist-700
Ergebnis
#394447 → hsl(193 11% 25%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #394447. 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.2235 G = 0.2667 B = 0.2784
2. max, min, Δ
max = 0.2784 min = 0.2235 Δ = max − min = 0.0549
3. L
L = (max + min) / 2 = 0.2510 = 25.10%
4. S
S = Δ / (1 − |2L − 1|) = 0.1094 = 10.94%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.2235 − 0.2667) / 0.0549 + 4) = 192.86°
6. HSL
hsl(192.86 10.94% 25.10%)
Alle Formate
- HEX
- #394447
- RGB
- rgb(57 68 71)
- RGB (legacy)
- rgb(57, 68, 71)
- HSL
- hsl(192.86 10.94% 25.10%) → hsl(193 11% 25%)
- HWB
- hwb(193 22% 72%)
- OKLCH
- oklch(0.378 0.015 216.0) · oklch(37.8% 0.015 216.0)
- OKLab
- oklab(0.378 -0.012 -0.009)
- Lab (D50)
- lab(27.94 -4.06 -3.40)
- LCH (D50)
- lch(27.94 5.30 219.96)
- Display P3
- color(display-p3 0.2319 0.2654 0.2768)
- Linear sRGB
- color(srgb-linear 0.0409 0.0578 0.0630)
Gamut: sRGB und Display P3
#394447 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.067, Display P3 von 0.089; diese Farbe nutzt 23 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #394447;
color: rgb(57 68 71);
color: hsl(193 11% 25%);
color: oklch(0.378 0.015 216.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.378 0.015 216.0);
}
/* arbitrary values */
class="text-[#394447] bg-[oklch(0.378_0.015_216.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2319 0.2654 0.2768); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #394447 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- neutral-700#404040
- zinc-700#3F3F46
- v3 gray-700#374151
- v3 stone-700#44403C
- stone-700#44403B
- gray-700#364153
- v3 slate-700#334155
- taupe-700#473C39
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #495457 · oklch(0.438 0.015 216.0) · ΔL +0.06
- #2A3437 · oklch(0.318 0.015 216.0) · ΔL −0.06