HSL in HEX: #FED7AA
Auch bekannt als: Tailwind v3 orange-200
Ergebnis
hsl(32.14 97.67% 83.14%) → #FED7AA
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fed7aa. 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 = 32.14°, S = 97.67%, L = 83.14%
2. C
C = (1 − |2L − 1|) × S = 0.32934
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.17642 (H / 60° = 0.5357, sector 0)
4. m
m = L − C / 2 = 0.66673
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.32934, 0.17642, 0.00000) R = round((0.32934 + 0.66673) × 255) = 254 G = round((0.17642 + 0.66673) × 255) = 215 B = round((0.00000 + 0.66673) × 255) = 170
6. RGB → HEX
#FED7AA
Alle Formate
- HEX
- #fed7aa
- RGB
- rgb(254 215 170)
- RGB (legacy)
- rgb(254, 215, 170)
- HSL
- hsl(32.14 97.67% 83.14%) → hsl(32 98% 83%)
- HWB
- hwb(32 67% 0%)
- OKLCH
- oklch(0.901 0.073 70.7) · oklch(90.1% 0.073 70.7)
- OKLab
- oklab(0.901 0.024 0.069)
- Lab (D50)
- lab(88.54 9.49 27.61)
- LCH (D50)
- lch(88.54 29.19 71.03)
- Display P3
- color(display-p3 0.9712 0.8488 0.6888)
- Linear sRGB
- color(srgb-linear 0.9911 0.6795 0.4020)
Gamut: sRGB und Display P3
#FED7AA 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.075, Display P3 von 0.095; diese Farbe nutzt 97 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #fed7aa;
color: rgb(254 215 170);
color: hsl(32 98% 83%);
color: oklch(0.901 0.073 70.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.901 0.073 70.7);
}
/* arbitrary values */
class="text-[#fed7aa] bg-[oklch(0.901_0.073_70.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9712 0.8488 0.6888); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fed7aa calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- orange-200#FFD6A7
- navajowhite#FFDEAD
- peachpuff#FFDAB9
- wheat#F5DEB3
- moccasin#FFE4B5
- bisque#FFE4C4
- palegoldenrod#EEE8AA
- blanchedalmond#FFEBCD
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFEBBD · oklch(0.961 0.073 70.7) · ΔL +0.06
- #EAC497 · oklch(0.841 0.073 70.7) · ΔL −0.06