HEX in HSL: #22292B
Auch bekannt als: Tailwind mist-800
Ergebnis
#22292B → hsl(193 12% 15%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #22292b. 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.1333 G = 0.1608 B = 0.1686
2. max, min, Δ
max = 0.1686 min = 0.1333 Δ = max − min = 0.0353
3. L
L = (max + min) / 2 = 0.1510 = 15.10%
4. S
S = Δ / (1 − |2L − 1|) = 0.1169 = 11.69%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.1333 − 0.1608) / 0.0353 + 4) = 193.33°
6. HSL
hsl(193.33 11.69% 15.10%)
Alle Formate
- HEX
- #22292b
- RGB
- rgb(34 41 43)
- RGB (legacy)
- rgb(34, 41, 43)
- HSL
- hsl(193.33 11.69% 15.10%) → hsl(193 12% 15%)
- HWB
- hwb(193 13% 83%)
- OKLCH
- oklch(0.275 0.011 216.9) · oklch(27.5% 0.011 216.9)
- OKLab
- oklab(0.275 -0.008 -0.006)
- Lab (D50)
- lab(15.96 -2.79 -2.41)
- LCH (D50)
- lch(15.96 3.69 220.83)
- Display P3
- color(display-p3 0.1386 0.1600 0.1675)
- Linear sRGB
- color(srgb-linear 0.0160 0.0222 0.0242)
Gamut: sRGB und Display P3
#22292B 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.049, Display P3 von 0.065; diese Farbe nutzt 22 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #22292b;
color: rgb(34 41 43);
color: hsl(193 12% 15%);
color: oklch(0.275 0.011 216.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.275 0.011 216.9);
}
/* arbitrary values */
class="text-[#22292b] bg-[oklch(0.275_0.011_216.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1386 0.1600 0.1675); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #22292b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- zinc-800#27272A
- neutral-800#262626
- stone-800#292524
- v3 gray-800#1F2937
- taupe-800#2B2422
- olive-800#2B2B22
- gray-800#1E2939
- v3 slate-800#1E293B
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #31383A · oklch(0.335 0.011 216.9) · ΔL +0.06
- #141B1D · oklch(0.215 0.011 216.9) · ΔL −0.06