HEX in HSL: #FE9A00

Auch bekannt als: Tailwind amber-500

Ergebnis

#FE9A00 → hsl(36 100% 50%)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fe9a00. 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. RGB ÷ 255

    R = 0.9961
    G = 0.6039
    B = 0.0000
  2. 2. max, min, Δ

    max = 0.9961
    min = 0.0000
    Δ = max − min = 0.9961
  3. 3. L

    L = (max + min) / 2 = 0.4980 = 49.80%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.6039 − 0.0000) / 0.9961) mod 6) = 36.38°
  6. 6. HSL

    hsl(36.38 100.00% 49.80%)

Alle Formate

HEX
#fe9a00
RGB
rgb(254 154 0)
RGB (legacy)
rgb(254, 154, 0)
HSL
hsl(36.38 100.00% 49.80%) → hsl(36 100% 50%)
HWB
hwb(36 0% 0%)
OKLCH
oklch(0.772 0.173 65.4) · oklch(77.2% 0.173 65.4)
OKLab
oklab(0.772 0.072 0.157)
Lab (D50)
lab(73.03 32.55 77.57)
LCH (D50)
lch(73.03 84.12 67.24)
Display P3
color(display-p3 0.9417 0.6224 0.2218)
Linear sRGB
color(srgb-linear 0.9911 0.3231 0.0000)

Gamut: sRGB und Display P3

#FE9A00 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.173, Display P3 von 0.198; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #fe9a00;
  color: rgb(254 154 0);
  color: hsl(36 100% 50%);
  color: oklch(0.772 0.173 65.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.772 0.173 65.4);
}
/* arbitrary values */
class="text-[#fe9a00] bg-[oklch(0.772_0.173_65.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9417 0.6224 0.2218); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fe9a00 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

  • #FFAD30 · oklch(0.832 0.173 65.4) · ΔL +0.06
  • #E98700 · oklch(0.712 0.173 65.4) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →