HSL in HEX: #FB923C
Auch bekannt als: Tailwind v3 orange-400
Ergebnis
hsl(27.02 95.98% 60.98%) → #FB923C
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fb923c. 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 = 27.02°, S = 95.98%, L = 60.98%
2. C
C = (1 − |2L − 1|) × S = 0.74903
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.33731 (H / 60° = 0.4503, sector 0)
4. m
m = L − C / 2 = 0.23529
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.74903, 0.33731, 0.00000) R = round((0.74903 + 0.23529) × 255) = 251 G = round((0.33731 + 0.23529) × 255) = 146 B = round((0.00000 + 0.23529) × 255) = 60
6. RGB → HEX
#FB923C
Alle Formate
- HEX
- #fb923c
- RGB
- rgb(251 146 60)
- RGB (legacy)
- rgb(251, 146, 60)
- HSL
- hsl(27.02 95.98% 60.98%) → hsl(27 96% 61%)
- HWB
- hwb(27 24% 2%)
- OKLCH
- oklch(0.758 0.159 55.9) · oklch(75.8% 0.159 55.9)
- OKLab
- oklab(0.758 0.089 0.132)
- Lab (D50)
- lab(71.11 36.11 60.82)
- LCH (D50)
- lch(71.11 70.74 59.30)
- Display P3
- color(display-p3 0.9282 0.5926 0.3103)
- Linear sRGB
- color(srgb-linear 0.9647 0.2874 0.0452)
Gamut: sRGB und Display P3
#FB923C 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.169, Display P3 von 0.212; diese Farbe nutzt 94 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #fb923c;
color: rgb(251 146 60);
color: hsl(27 96% 61%);
color: oklch(0.758 0.159 55.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.758 0.159 55.9);
}
/* arbitrary values */
class="text-[#fb923c] bg-[oklch(0.758_0.159_55.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9282 0.5926 0.3103); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fb923c calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- darkorange#FF8C00
- orange-400#FF8904
- amber-500#FE9A00
- v3 amber-500#F59E0B
- sandybrown#F4A460
- coral#FF7F50
- orange#FFA500
- lightsalmon#FFA07A
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFA552 · oklch(0.818 0.159 55.9) · ΔL +0.06
- #E67F23 · oklch(0.698 0.159 55.9) · ΔL −0.06