RGB in HEX: #460809
Auch bekannt als: Tailwind red-950
Ergebnis
rgb(70 8 9) → #460809
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #460809. 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 = 70 = 4×16 + 6 → 46 G = 8 = 0×16 + 8 → 08 B = 9 = 0×16 + 9 → 09
2. pairs → HEX
46 08 09 → #460809
Alle Formate
- HEX
- #460809
- RGB
- rgb(70 8 9)
- RGB (legacy)
- rgb(70, 8, 9)
- HSL
- hsl(359.03 79.49% 15.29%) → hsl(359 79% 15%)
- HWB
- hwb(359 3% 73%)
- OKLCH
- oklch(0.257 0.092 25.8) · oklch(25.7% 0.092 25.8)
- OKLab
- oklab(0.257 0.083 0.040)
- Lab (D50)
- lab(12.94 28.99 16.58)
- LCH (D50)
- lch(12.94 33.39 29.77)
- Display P3
- color(display-p3 0.2498 0.0548 0.0474)
- Linear sRGB
- color(srgb-linear 0.0612 0.0024 0.0027)
Gamut: sRGB und Display P3
#460809 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.105, Display P3 von 0.118; diese Farbe nutzt 88 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #460809;
color: rgb(70 8 9);
color: hsl(359 79% 15%);
color: oklch(0.257 0.092 25.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.257 0.092 25.8);
}
/* arbitrary values */
class="text-[#460809] bg-[oklch(0.257_0.092_25.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2498 0.0548 0.0474); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #460809 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 red-950#450A0A
- orange-950#441306
- v3 orange-950#431407
- v3 rose-950#4C0519
- rose-950#4D0218
- amber-950#461901
- v3 amber-950#451A03
- v3 pink-950#500724
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #581A18 · oklch(0.317 0.092 25.8) · ΔL +0.06
- #340000 · oklch(0.197 0.092 25.8) · ΔL −0.06