HSL in HEX: #EA580C

Auch bekannt als: Tailwind v3 orange-600

Ergebnis

hsl(20.54 90.24% 48.24%) → #EA580C

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #ea580c. 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. 1. input

    H = 20.54°, S = 90.24%, L = 48.24%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.87064
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.29805   (H / 60° = 0.3423, sector 0)
  4. 4. m

    m = L − C / 2 = 0.04708
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.87064, 0.29805, 0.00000)
    R = round((0.87064 + 0.04708) × 255) = 234
    G = round((0.29805 + 0.04708) × 255) = 88
    B = round((0.00000 + 0.04708) × 255) = 12
  6. 6. RGB → HEX

    #EA580C

Alle Formate

HEX
#ea580c
RGB
rgb(234 88 12)
RGB (legacy)
rgb(234, 88, 12)
HSL
hsl(20.54 90.24% 48.24%) → hsl(21 90% 48%)
HWB
hwb(21 5% 8%)
OKLCH
oklch(0.646 0.194 41.1) · oklch(64.6% 0.194 41.1)
OKLab
oklab(0.646 0.146 0.128)
Lab (D50)
lab(57.39 55.59 65.41)
LCH (D50)
lch(57.39 85.84 49.64)
Display P3
color(display-p3 0.8511 0.3836 0.1698)
Linear sRGB
color(srgb-linear 0.8228 0.0976 0.0037)

Gamut: sRGB und Display P3

#EA580C 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.198, Display P3 von 0.224; diese Farbe nutzt 98 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #ea580c;
  color: rgb(234 88 12);
  color: hsl(21 90% 48%);
  color: oklch(0.646 0.194 41.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.646 0.194 41.1);
}
/* arbitrary values */
class="text-[#ea580c] bg-[oklch(0.646_0.194_41.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8511 0.3836 0.1698); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ea580c calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #FF6C2C · oklch(0.706 0.194 41.1) · ΔL +0.06
  • #D54300 · oklch(0.586 0.194 41.1) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →