RGB in HEX: #500724
Auch bekannt als: Tailwind v3 pink-950
Ergebnis
rgb(80 7 36) → #500724
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #500724. 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. base 10 → base 16
R = 80 = 5×16 + 0 → 50 G = 7 = 0×16 + 7 → 07 B = 36 = 2×16 + 4 → 24
2. pairs → HEX
50 07 24 → #500724
Alle Formate
- HEX
- #500724
- RGB
- rgb(80 7 36)
- RGB (legacy)
- rgb(80, 7, 36)
- HSL
- hsl(336.16 83.91% 17.06%) → hsl(336 84% 17%)
- HWB
- hwb(336 3% 69%)
- OKLCH
- oklch(0.284 0.105 3.9) · oklch(28.4% 0.105 3.9)
- OKLab
- oklab(0.284 0.105 0.007)
- Lab (D50)
- lab(15.72 33.92 3.39)
- LCH (D50)
- lch(15.72 34.09 5.70)
- Display P3
- color(display-p3 0.2857 0.0582 0.1409)
- Linear sRGB
- color(srgb-linear 0.0802 0.0021 0.0176)
Gamut: sRGB und Display P3
#500724 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.114, Display P3 von 0.129; diese Farbe nutzt 92 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #500724;
color: rgb(80 7 36);
color: hsl(336 84% 17%);
color: oklch(0.284 0.105 3.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.284 0.105 3.9);
}
/* arbitrary values */
class="text-[#500724] bg-[oklch(0.284_0.105_3.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2857 0.0582 0.1409); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #500724 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- pink-950#510424
- v3 rose-950#4C0519
- rose-950#4D0218
- red-950#460809
- v3 red-950#450A0A
- orange-950#441306
- v3 orange-950#431407
- amber-950#461901
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #621B33 · oklch(0.344 0.105 3.9) · ΔL +0.06
- #3E0016 · oklch(0.224 0.105 3.9) · ΔL −0.06