HEX in HSL: #A6A09B
Auch bekannt als: Tailwind stone-400
Ergebnis
#A6A09B → hsl(27 6% 63%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a6a09b. 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.6510 G = 0.6275 B = 0.6078
2. max, min, Δ
max = 0.6510 min = 0.6078 Δ = max − min = 0.0431
3. L
L = (max + min) / 2 = 0.6294 = 62.94%
4. S
S = Δ / (1 − |2L − 1|) = 0.0582 = 5.82%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.6275 − 0.6078) / 0.0431) mod 6) = 27.27°
6. HSL
hsl(27.27 5.82% 62.94%)
Alle Formate
- HEX
- #a6a09b
- RGB
- rgb(166 160 155)
- RGB (legacy)
- rgb(166, 160, 155)
- HSL
- hsl(27.27 5.82% 62.94%) → hsl(27 6% 63%)
- HWB
- hwb(27 61% 35%)
- OKLCH
- oklch(0.709 0.010 62.5) · oklch(70.9% 0.010 62.5)
- OKLab
- oklab(0.709 0.005 0.009)
- Lab (D50)
- lab(66.27 1.57 3.43)
- LCH (D50)
- lch(66.27 3.77 65.39)
- Display P3
- color(display-p3 0.6469 0.6283 0.6101)
- Linear sRGB
- color(srgb-linear 0.3813 0.3515 0.3278)
Gamut: sRGB und Display P3
#A6A09B 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.162, Display P3 von 0.186; diese Farbe nutzt 6 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #a6a09b;
color: rgb(166 160 155);
color: hsl(27 6% 63%);
color: oklch(0.709 0.010 62.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.709 0.010 62.5);
}
/* arbitrary values */
class="text-[#a6a09b] bg-[oklch(0.709_0.010_62.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6469 0.6283 0.6101); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a6a09b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 stone-400#A8A29E
- taupe-400#ABA09C
- neutral-400#A1A1A1
- v3 neutral-400#A3A3A3
- v3 zinc-400#A1A1AA
- zinc-400#9F9FA9
- mauve-400#A89EA9
- mist-400#9CA8AB
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #B9B3AE · oklch(0.769 0.010 62.5) · ΔL +0.06
- #948E89 · oklch(0.649 0.010 62.5) · ΔL −0.06