HEX in HSL: #E7000B
Auch bekannt als: Tailwind red-600
Ergebnis
#E7000B → hsl(357 100% 45%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #e7000b. 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.9059 G = 0.0000 B = 0.0431
2. max, min, Δ
max = 0.9059 min = 0.0000 Δ = max − min = 0.9059
3. L
L = (max + min) / 2 = 0.4529 = 45.29%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.0000 − 0.0431) / 0.9059) mod 6) = 357.14°
6. HSL
hsl(357.14 100.00% 45.29%)
Alle Formate
- HEX
- #e7000b
- RGB
- rgb(231 0 11)
- RGB (legacy)
- rgb(231, 0, 11)
- HSL
- hsl(357.14 100.00% 45.29%) → hsl(357 100% 45%)
- HWB
- hwb(357 0% 9%)
- OKLCH
- oklch(0.583 0.239 28.5) · oklch(58.3% 0.239 28.5)
- OKLab
- oklab(0.583 0.210 0.114)
- Lab (D50)
- lab(49.25 75.04 61.71)
- LCH (D50)
- lch(49.25 97.16 39.43)
- Display P3
- color(display-p3 0.8307 0.1775 0.1367)
- Linear sRGB
- color(srgb-linear 0.7991 0.0000 0.0033)
Gamut: sRGB und Display P3
#E7000B 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.239, Display P3 von 0.269; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #e7000b;
color: rgb(231 0 11);
color: hsl(357 100% 45%);
color: oklch(0.583 0.239 28.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.583 0.239 28.5);
}
/* arbitrary values */
class="text-[#e7000b] bg-[oklch(0.583_0.239_28.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8307 0.1775 0.1367); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e7000b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 red-600#DC2626
- rose-600#EC003F
- crimson#DC143C
- v3 rose-600#E11D48
- red#FF0000
- red-500#FB2C36
- orange-700#CA3500
- v3 red-500#EF4444
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FD3028 · oklch(0.643 0.239 28.5) · ΔL +0.06
- #D10000 · oklch(0.523 0.239 28.5) · ΔL −0.06