HSL in HEX: #463947
Auch bekannt als: Tailwind mauve-700
Ergebnis
hsl(295.71 10.94% 25.10%) → #463947
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #463947. 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. input
H = 295.71°, S = 10.94%, L = 25.10%
2. C
C = (1 − |2L − 1|) × S = 0.05492
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.05099 (H / 60° = 4.9285, sector 4)
4. m
m = L − C / 2 = 0.22354
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.05099, 0.00000, 0.05492) R = round((0.05099 + 0.22354) × 255) = 70 G = round((0.00000 + 0.22354) × 255) = 57 B = round((0.05492 + 0.22354) × 255) = 71
6. RGB → HEX
#463947
Alle Formate
- HEX
- #463947
- RGB
- rgb(70 57 71)
- RGB (legacy)
- rgb(70, 57, 71)
- HSL
- hsl(295.71 10.94% 25.10%) → hsl(296 11% 25%)
- HWB
- hwb(296 22% 72%)
- OKLCH
- oklch(0.364 0.029 323.9) · oklch(36.4% 0.029 323.9)
- OKLab
- oklab(0.364 0.024 -0.017)
- Lab (D50)
- lab(25.80 8.11 -6.40)
- LCH (D50)
- lch(25.80 10.33 321.74)
- Display P3
- color(display-p3 0.2663 0.2254 0.2748)
- Linear sRGB
- color(srgb-linear 0.0612 0.0409 0.0630)
Gamut: sRGB und Display P3
#463947 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.171, Display P3 von 0.186; diese Farbe nutzt 17 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #463947;
color: rgb(70 57 71);
color: hsl(296 11% 25%);
color: oklch(0.364 0.029 323.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.364 0.029 323.9);
}
/* arbitrary values */
class="text-[#463947] bg-[oklch(0.364_0.029_323.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2663 0.2254 0.2748); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #463947 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- zinc-700#3F3F46
- taupe-700#473C39
- neutral-700#404040
- v3 gray-700#374151
- v3 stone-700#44403C
- gray-700#364153
- stone-700#44403B
- v3 slate-700#334155
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #564957 · oklch(0.424 0.029 323.9) · ΔL +0.06
- #362A37 · oklch(0.304 0.029 323.9) · ΔL −0.06