HEX in HSL: #2B2422
Auch bekannt als: Tailwind taupe-800
Ergebnis
#2B2422 → hsl(13 12% 15%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #2b2422. 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.1686 G = 0.1412 B = 0.1333
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 R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.1412 − 0.1333) / 0.0353) mod 6) = 13.33°
6. HSL
hsl(13.33 11.69% 15.10%)
Alle Formate
- HEX
- #2b2422
- RGB
- rgb(43 36 34)
- RGB (legacy)
- rgb(43, 36, 34)
- HSL
- hsl(13.33 11.69% 15.10%) → hsl(13 12% 15%)
- HWB
- hwb(13 13% 83%)
- OKLCH
- oklch(0.268 0.011 36.5) · oklch(26.8% 0.011 36.5)
- OKLab
- oklab(0.268 0.009 0.007)
- Lab (D50)
- lab(14.95 3.09 2.62)
- LCH (D50)
- lch(14.95 4.06 40.28)
- Display P3
- color(display-p3 0.1641 0.1422 0.1346)
- Linear sRGB
- color(srgb-linear 0.0242 0.0176 0.0160)
Gamut: sRGB und Display P3
#2B2422 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.091, Display P3 von 0.102; diese Farbe nutzt 12 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #2b2422;
color: rgb(43 36 34);
color: hsl(13 12% 15%);
color: oklch(0.268 0.011 36.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.268 0.011 36.5);
}
/* arbitrary values */
class="text-[#2b2422] bg-[oklch(0.268_0.011_36.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1641 0.1422 0.1346); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #2b2422 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- stone-800#292524
- neutral-800#262626
- zinc-800#27272A
- mist-800#22292B
- mauve-800#2A212C
- olive-800#2B2B22
- v3 gray-800#1F2937
- olive-900#1D1D16
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #3A3331 · oklch(0.328 0.011 36.5) · ΔL +0.06
- #1D1614 · oklch(0.208 0.011 36.5) · ΔL −0.06