HEX in HSL: #292524
Auch bekannt als: Tailwind stone-800, Tailwind v3 stone-800
Ergebnis
#292524 → hsl(12 6% 15%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #292524. 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.1608 G = 0.1451 B = 0.1412
2. max, min, Δ
max = 0.1608 min = 0.1412 Δ = max − min = 0.0196
3. L
L = (max + min) / 2 = 0.1510 = 15.10%
4. S
S = Δ / (1 − |2L − 1|) = 0.0649 = 6.49%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.1451 − 0.1412) / 0.0196) mod 6) = 12.00°
6. HSL
hsl(12.00 6.49% 15.10%)
Alle Formate
- HEX
- #292524
- RGB
- rgb(41 37 36)
- RGB (legacy)
- rgb(41, 37, 36)
- HSL
- hsl(12.00 6.49% 15.10%) → hsl(12 6% 15%)
- HWB
- hwb(12 14% 84%)
- OKLCH
- oklch(0.268 0.006 34.3) · oklch(26.8% 0.006 34.3)
- OKLab
- oklab(0.268 0.005 0.004)
- Lab (D50)
- lab(15.10 1.76 1.38)
- LCH (D50)
- lch(15.10 2.23 38.04)
- Display P3
- color(display-p3 0.1581 0.1456 0.1418)
- Linear sRGB
- color(srgb-linear 0.0222 0.0185 0.0176)
Gamut: sRGB und Display P3
#292524 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.096, Display P3 von 0.108; diese Farbe nutzt 7 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #292524;
color: rgb(41 37 36);
color: hsl(12 6% 15%);
color: oklch(0.268 0.006 34.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.268 0.006 34.3);
}
/* arbitrary values */
class="text-[#292524] bg-[oklch(0.268_0.006_34.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1581 0.1456 0.1418); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #292524 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- taupe-800#2B2422
- neutral-800#262626
- zinc-800#27272A
- mist-800#22292B
- olive-800#2B2B22
- mauve-800#2A212C
- v3 gray-800#1F2937
- gray-800#1E2939
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #383433 · oklch(0.328 0.006 34.3) · ΔL +0.06
- #1B1716 · oklch(0.208 0.006 34.3) · ΔL −0.06