HSL in HEX: #FE9A00
Auch bekannt als: Tailwind amber-500
Ergebnis
hsl(36.38 100.00% 49.80%) → #FE9A00
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. input
H = 36.38°, S = 100.00%, L = 49.80%
2. C
C = (1 − |2L − 1|) × S = 0.99600
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.60391 (H / 60° = 0.6063, sector 0)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.99600, 0.60391, 0.00000) R = round((0.99600 + 0.00000) × 255) = 254 G = round((0.60391 + 0.00000) × 255) = 154 B = round((0.00000 + 0.00000) × 255) = 0
6. RGB → HEX
#FE9A00
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).
- v3 amber-500#F59E0B
- orange#FFA500
- darkorange#FF8C00
- v3 orange-400#FB923C
- orange-400#FF8904
- sandybrown#F4A460
- yellow-500#F0B100
- goldenrod#DAA520
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