HEX in HSL: #A3A3A3
Auch bekannt als: Tailwind v3 neutral-400
Ergebnis
#A3A3A3 → hsl(0 0% 64%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a3a3a3. 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.6392 G = 0.6392 B = 0.6392
2. max, min, Δ
max = 0.6392 min = 0.6392 Δ = max − min = 0.0000
3. L
L = (max + min) / 2 = 0.6392 = 63.92%
4. S
S = Δ / (1 − |2L − 1|) = 0.0000 = 0.00%
5. H
Δ = 0 → grey, hue is undefined (written as 0)
6. HSL
hsl(0.00 0.00% 63.92%)
Alle Formate
- HEX
- #a3a3a3
- RGB
- rgb(163 163 163)
- RGB (legacy)
- rgb(163, 163, 163)
- HSL
- hsl(0.00 0.00% 63.92%) → hsl(0 0% 64%)
- HWB
- hwb(0 64% 36%)
- OKLCH
- oklch(0.715 0.000 0.0) · oklch(71.5% 0.000 0.0)
- OKLab
- oklab(0.715 0.000 0.000)
- Lab (D50)
- lab(66.99 0.00 0.00)
- LCH (D50)
- lch(66.99 0.00 0.00)
- Display P3
- color(display-p3 0.6392 0.6392 0.6392)
- Linear sRGB
- color(srgb-linear 0.3663 0.3663 0.3663)
Gamut: sRGB und Display P3
#A3A3A3 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.195, Display P3 von 0.252; diese Farbe nutzt 0 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #a3a3a3;
color: rgb(163 163 163);
color: hsl(0 0% 64%);
color: oklch(0.715 0.000 0.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.715 0.000 0.0);
}
/* arbitrary values */
class="text-[#a3a3a3] bg-[oklch(0.715_0.000_0.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6392 0.6392 0.6392); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a3a3a3 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- neutral-400#A1A1A1
- v3 stone-400#A8A29E
- stone-400#A6A09B
- v3 zinc-400#A1A1AA
- taupe-400#ABA09C
- mist-400#9CA8AB
- zinc-400#9F9FA9
- v3 gray-400#9CA3AF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #B6B6B6 · oklch(0.775 0.000 0.0) · ΔL +0.06
- #919191 · oklch(0.655 0.000 0.0) · ΔL −0.06