HSL in HEX: #79716B
Auch bekannt als: Tailwind stone-500
Ergebnis
hsl(25.71 6.14% 44.71%) → #79716B
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #79716b. 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 = 25.71°, S = 6.14%, L = 44.71%
2. C
C = (1 − |2L − 1|) × S = 0.05490
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.02353 (H / 60° = 0.4285, sector 0)
4. m
m = L − C / 2 = 0.41965
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.05490, 0.02353, 0.00000) R = round((0.05490 + 0.41965) × 255) = 121 G = round((0.02353 + 0.41965) × 255) = 113 B = round((0.00000 + 0.41965) × 255) = 107
6. RGB → HEX
#79716B
Alle Formate
- HEX
- #79716b
- RGB
- rgb(121 113 107)
- RGB (legacy)
- rgb(121, 113, 107)
- HSL
- hsl(25.71 6.14% 44.71%) → hsl(26 6% 45%)
- HWB
- hwb(26 42% 53%)
- OKLCH
- oklch(0.554 0.014 59.4) · oklch(55.4% 0.014 59.4)
- OKLab
- oklab(0.554 0.007 0.012)
- Lab (D50)
- lab(48.24 2.37 4.51)
- LCH (D50)
- lch(48.24 5.10 62.29)
- Display P3
- color(display-p3 0.4691 0.4442 0.4224)
- Linear sRGB
- color(srgb-linear 0.1912 0.1651 0.1470)
Gamut: sRGB und Display P3
#79716B 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.131, Display P3 von 0.149; diese Farbe nutzt 10 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #79716b;
color: rgb(121 113 107);
color: hsl(26 6% 45%);
color: oklch(0.554 0.014 59.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.554 0.014 59.4);
}
/* arbitrary values */
class="text-[#79716b] bg-[oklch(0.554_0.014_59.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4691 0.4442 0.4224); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #79716b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 stone-500#78716C
- taupe-500#7C6D67
- neutral-500#737373
- v3 zinc-500#71717A
- zinc-500#71717B
- mist-500#67787C
- olive-500#7C7C67
- dimgray#696969
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #8B837C · oklch(0.614 0.014 59.4) · ΔL +0.06
- #68605A · oklch(0.494 0.014 59.4) · ΔL −0.06