HEX naar HSL: #E3E7E8
Ook bekend als: Tailwind mist-200
Resultaat
#E3E7E8 → hsl(192 10% 90%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #e3e7e8. 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 = 0.8902 G = 0.9059 B = 0.9098
2. max, min, Δ
max = 0.9098 min = 0.8902 Δ = max − min = 0.0196
3. L
L = (max + min) / 2 = 0.9000 = 90.00%
4. S
S = Δ / (1 − |2L − 1|) = 0.0980 = 9.80%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.8902 − 0.9059) / 0.0196 + 4) = 192.00°
6. HSL
hsl(192.00 9.80% 90.00%)
Alle formaten
- HEX
- #e3e7e8
- RGB
- rgb(227 231 232)
- RGB (legacy)
- rgb(227, 231, 232)
- HSL
- hsl(192.00 9.80% 90.00%) → hsl(192 10% 90%)
- HWB
- hwb(192 89% 9%)
- OKLCH
- oklch(0.925 0.005 214.3) · oklch(92.5% 0.005 214.3)
- OKLab
- oklab(0.925 -0.004 -0.003)
- Lab (D50)
- lab(91.36 -1.25 -0.98)
- LCH (D50)
- lch(91.36 1.59 218.08)
- Display P3
- color(display-p3 0.8930 0.9054 0.9092)
- Linear sRGB
- color(srgb-linear 0.7682 0.7991 0.8070)
Gamut: sRGB en Display P3
#E3E7E8 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.060 en Display P3 van 0.065; deze kleur gebruikt 8% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #e3e7e8;
color: rgb(227 231 232);
color: hsl(192 10% 90%);
color: oklch(0.925 0.005 214.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.925 0.005 214.3);
}
/* arbitrary values */
class="text-[#e3e7e8] bg-[oklch(0.925_0.005_214.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8930 0.9054 0.9092); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e3e7e8 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- gray-200#E5E7EB
- neutral-200#E5E5E5
- stone-200#E7E5E4
- zinc-200#E4E4E7
- mauve-200#E7E4E7
- taupe-200#E8E4E3
- olive-200#E8E8E3
- slate-200#E2E8F0
Lichter en donkerder, dezelfde tint en chroma
- #F7FBFC · oklch(0.985 0.005 214.3) · ΔL +0.06
- #CFD3D4 · oklch(0.865 0.005 214.3) · ΔL −0.06