HEX naar HSL: #FFEDD5
Ook bekend als: Tailwind v3 orange-100
Resultaat
#FFEDD5 → hsl(34 100% 92%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #ffedd5. De afgeronde vorm plak je gewoonlijk in CSS.
Stap-voor-stap berekening
Elk getal wordt uit de invoer berekend, er wordt niets opgezocht.
1. RGB ÷ 255
R = 1.0000 G = 0.9294 B = 0.8353
2. max, min, Δ
max = 1.0000 min = 0.8353 Δ = max − min = 0.1647
3. L
L = (max + min) / 2 = 0.9176 = 91.76%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9294 − 0.8353) / 0.1647) mod 6) = 34.29°
6. HSL
hsl(34.29 100.00% 91.76%)
Alle formaten
- HEX
- #ffedd5
- RGB
- rgb(255 237 213)
- RGB (legacy)
- rgb(255, 237, 213)
- HSL
- hsl(34.29 100.00% 91.76%) → hsl(34 100% 92%)
- HWB
- hwb(34 84% 0%)
- OKLCH
- oklch(0.954 0.037 75.2) · oklch(95.4% 0.037 75.2)
- OKLab
- oklab(0.954 0.010 0.036)
- Lab (D50)
- lab(94.74 3.49 13.99)
- LCH (D50)
- lch(94.74 14.42 75.97)
- Display P3
- color(display-p3 0.9880 0.9319 0.8457)
- Linear sRGB
- color(srgb-linear 1.0000 0.8469 0.6654)
Gamut: sRGB en Display P3
#FFEDD5 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.037 en Display P3 van 0.047; deze kleur gebruikt 100% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #ffedd5;
color: rgb(255 237 213);
color: hsl(34 100% 92%);
color: oklch(0.954 0.037 75.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.954 0.037 75.2);
}
/* arbitrary values */
class="text-[#ffedd5] bg-[oklch(0.954_0.037_75.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9880 0.9319 0.8457); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ffedd5 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- orange-100#FFEDD4
- papayawhip#FFEFD5
- antiquewhite#FAEBD7
- blanchedalmond#FFEBCD
- linen#FAF0E6
- beige#F5F5DC
- oldlace#FDF5E6
- bisque#FFE4C4
Lichter en donkerder, dezelfde tint en chroma
- #FFFCE4 · oklch(1.000 0.037 75.2) · ΔL +0.06
- #EBD9C2 · oklch(0.894 0.037 75.2) · ΔL −0.06