HEX naar HSL: #F3F1F1
Ook bekend als: Tailwind taupe-100
Resultaat
#F3F1F1 → hsl(0 8% 95%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #f3f1f1. 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.9529 G = 0.9451 B = 0.9451
2. max, min, Δ
max = 0.9529 min = 0.9451 Δ = max − min = 0.0078
3. L
L = (max + min) / 2 = 0.9490 = 94.90%
4. S
S = Δ / (1 − |2L − 1|) = 0.0769 = 7.69%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9451 − 0.9451) / 0.0078) mod 6) = 0.00°
6. HSL
hsl(0.00 7.69% 94.90%)
Alle formaten
- HEX
- #f3f1f1
- RGB
- rgb(243 241 241)
- RGB (legacy)
- rgb(243, 241, 241)
- HSL
- hsl(0.00 7.69% 94.90%) → hsl(0 8% 95%)
- HWB
- hwb(0 95% 5%)
- OKLCH
- oklch(0.960 0.002 17.2) · oklch(96.0% 0.002 17.2)
- OKLab
- oklab(0.960 0.002 0.001)
- Lab (D50)
- lab(95.30 0.69 0.25)
- LCH (D50)
- lch(95.30 0.73 19.75)
- Display P3
- color(display-p3 0.9516 0.9454 0.9452)
- Linear sRGB
- color(srgb-linear 0.8963 0.8796 0.8796)
Gamut: sRGB en Display P3
#F3F1F1 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.020 en Display P3 van 0.026; deze kleur gebruikt 11% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #f3f1f1;
color: rgb(243 241 241);
color: hsl(0 8% 95%);
color: oklch(0.960 0.002 17.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.960 0.002 17.2);
}
/* arbitrary values */
class="text-[#f3f1f1] bg-[oklch(0.960_0.002_17.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9516 0.9454 0.9452); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f3f1f1 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- mauve-100#F3F1F3
- mist-100#F1F3F3
- zinc-100#F4F4F5
- gray-100#F3F4F6
- olive-100#F4F4F0
- stone-100#F5F5F4
- neutral-100#F5F5F5
- slate-100#F1F5F9
Lichter en donkerder, dezelfde tint en chroma
- #FFFEFE · oklch(1.000 0.002 17.2) · ΔL +0.06
- #DFDDDD · oklch(0.900 0.002 17.2) · ΔL −0.06