HEX in HSL: #A8A29E
Auch bekannt als: Tailwind v3 stone-400
Ergebnis
#A8A29E → hsl(24 5% 64%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a8a29e. 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.6588 G = 0.6353 B = 0.6196
2. max, min, Δ
max = 0.6588 min = 0.6196 Δ = max − min = 0.0392
3. L
L = (max + min) / 2 = 0.6392 = 63.92%
4. S
S = Δ / (1 − |2L − 1|) = 0.0543 = 5.43%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.6353 − 0.6196) / 0.0392) mod 6) = 24.00°
6. HSL
hsl(24.00 5.43% 63.92%)
Alle Formate
- HEX
- #a8a29e
- RGB
- rgb(168 162 158)
- RGB (legacy)
- rgb(168, 162, 158)
- HSL
- hsl(24.00 5.43% 63.92%) → hsl(24 5% 64%)
- HWB
- hwb(24 62% 34%)
- OKLCH
- oklch(0.716 0.009 56.3) · oklch(71.6% 0.009 56.3)
- OKLab
- oklab(0.716 0.005 0.008)
- Lab (D50)
- lab(67.04 1.70 2.90)
- LCH (D50)
- lch(67.04 3.36 59.61)
- Display P3
- color(display-p3 0.6547 0.6361 0.6215)
- Linear sRGB
- color(srgb-linear 0.3916 0.3613 0.3419)
Gamut: sRGB und Display P3
#A8A29E 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.175, Display P3 von 0.199; diese Farbe nutzt 5 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #a8a29e;
color: rgb(168 162 158);
color: hsl(24 5% 64%);
color: oklch(0.716 0.009 56.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.716 0.009 56.3);
}
/* arbitrary values */
class="text-[#a8a29e] bg-[oklch(0.716_0.009_56.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6547 0.6361 0.6215); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a8a29e calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- taupe-400#ABA09C
- stone-400#A6A09B
- v3 neutral-400#A3A3A3
- neutral-400#A1A1A1
- v3 zinc-400#A1A1AA
- darkgray#A9A9A9
- mauve-400#A89EA9
- zinc-400#9F9FA9
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #BBB5B1 · oklch(0.776 0.009 56.3) · ΔL +0.06
- #96908C · oklch(0.656 0.009 56.3) · ΔL −0.06