HEX in HSL: #7C2D12
Auch bekannt als: Tailwind v3 orange-900
Ergebnis
#7C2D12 → hsl(15 75% 28%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #7c2d12. 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.4863 G = 0.1765 B = 0.0706
2. max, min, Δ
max = 0.4863 min = 0.0706 Δ = max − min = 0.4157
3. L
L = (max + min) / 2 = 0.2784 = 27.84%
4. S
S = Δ / (1 − |2L − 1|) = 0.7465 = 74.65%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.1765 − 0.0706) / 0.4157) mod 6) = 15.28°
6. HSL
hsl(15.28 74.65% 27.84%)
Alle Formate
- HEX
- #7c2d12
- RGB
- rgb(124 45 18)
- RGB (legacy)
- rgb(124, 45, 18)
- HSL
- hsl(15.28 74.65% 27.84%) → hsl(15 75% 28%)
- HWB
- hwb(15 7% 51%)
- OKLCH
- oklch(0.408 0.116 38.2) · oklch(40.8% 0.116 38.2)
- OKLab
- oklab(0.408 0.092 0.072)
- Lab (D50)
- lab(30.41 33.99 34.58)
- LCH (D50)
- lch(30.41 48.49 45.49)
- Display P3
- color(display-p3 0.4497 0.1966 0.1052)
- Linear sRGB
- color(srgb-linear 0.2016 0.0262 0.0060)
Gamut: sRGB und Display P3
#7C2D12 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.133, Display P3 von 0.150; diese Farbe nutzt 87 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #7c2d12;
color: rgb(124 45 18);
color: hsl(15 75% 28%);
color: oklch(0.408 0.116 38.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.408 0.116 38.2);
}
/* arbitrary values */
class="text-[#7c2d12] bg-[oklch(0.408_0.116_38.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4497 0.1966 0.1052); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #7c2d12 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- orange-900#7E2A0C
- amber-900#7B3306
- v3 amber-900#78350F
- v3 red-900#7F1D1D
- red-900#82181A
- yellow-900#733E0A
- v3 yellow-900#713F12
- darkred#8B0000
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #8F3F25 · oklch(0.468 0.116 38.2) · ΔL +0.06
- #691B00 · oklch(0.348 0.116 38.2) · ΔL −0.06