HEX in HSL: #7B3306
Auch bekannt als: Tailwind amber-900
Ergebnis
#7B3306 → hsl(23 91% 25%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #7b3306. 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.4824 G = 0.2000 B = 0.0235
2. max, min, Δ
max = 0.4824 min = 0.0235 Δ = max − min = 0.4588
3. L
L = (max + min) / 2 = 0.2529 = 25.29%
4. S
S = Δ / (1 − |2L − 1|) = 0.9070 = 90.70%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.2000 − 0.0235) / 0.4588) mod 6) = 23.08°
6. HSL
hsl(23.08 90.70% 25.29%)
Alle Formate
- HEX
- #7b3306
- RGB
- rgb(123 51 6)
- RGB (legacy)
- rgb(123, 51, 6)
- HSL
- hsl(23.08 90.70% 25.29%) → hsl(23 91% 25%)
- HWB
- hwb(23 2% 52%)
- OKLCH
- oklch(0.415 0.113 45.9) · oklch(41.5% 0.113 45.9)
- OKLab
- oklab(0.415 0.078 0.081)
- Lab (D50)
- lab(31.33 30.43 40.29)
- LCH (D50)
- lch(31.33 50.49 52.93)
- Display P3
- color(display-p3 0.4477 0.2168 0.0819)
- Linear sRGB
- color(srgb-linear 0.1981 0.0331 0.0018)
Gamut: sRGB und Display P3
#7B3306 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.117, Display P3 von 0.133; diese Farbe nutzt 96 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #7b3306;
color: rgb(123 51 6);
color: hsl(23 91% 25%);
color: oklch(0.415 0.113 45.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.415 0.113 45.9);
}
/* arbitrary values */
class="text-[#7b3306] bg-[oklch(0.415_0.113_45.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4477 0.2168 0.0819); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #7b3306 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 amber-900#78350F
- v3 orange-900#7C2D12
- orange-900#7E2A0C
- yellow-900#733E0A
- v3 yellow-900#713F12
- v3 red-900#7F1D1D
- red-900#82181A
- saddlebrown#8B4513
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #8E441D · oklch(0.475 0.113 45.9) · ΔL +0.06
- #682200 · oklch(0.355 0.113 45.9) · ΔL −0.06