HEX naar HSL: #96F7E4
Ook bekend als: Tailwind teal-200
Resultaat
#96F7E4 → hsl(168 86% 78%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #96f7e4. 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.5882 G = 0.9686 B = 0.8941
2. max, min, Δ
max = 0.9686 min = 0.5882 Δ = max − min = 0.3804
3. L
L = (max + min) / 2 = 0.7784 = 77.84%
4. S
S = Δ / (1 − |2L − 1|) = 0.8584 = 85.84%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8941 − 0.5882) / 0.3804 + 2) = 168.25°
6. HSL
hsl(168.25 85.84% 77.84%)
Alle formaten
- HEX
- #96f7e4
- RGB
- rgb(150 247 228)
- RGB (legacy)
- rgb(150, 247, 228)
- HSL
- hsl(168.25 85.84% 77.84%) → hsl(168 86% 78%)
- HWB
- hwb(168 59% 3%)
- OKLCH
- oklch(0.911 0.096 180.1) · oklch(91.1% 0.096 180.1)
- OKLab
- oklab(0.911 -0.096 0.000)
- Lab (D50)
- lab(90.86 -33.20 -0.34)
- LCH (D50)
- lch(90.86 33.20 180.59)
- Display P3
- color(display-p3 0.6770 0.9590 0.8957)
- Linear sRGB
- color(srgb-linear 0.3050 0.9301 0.7758)
Gamut: sRGB en Display P3
#96F7E4 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.136 en Display P3 van 0.155; deze kleur gebruikt 71% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #96f7e4;
color: rgb(150 247 228);
color: hsl(168 86% 78%);
color: oklch(0.911 0.096 180.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.911 0.096 180.1);
}
/* arbitrary values */
class="text-[#96f7e4] bg-[oklch(0.911_0.096_180.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6770 0.9590 0.8957); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #96f7e4 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- v3 teal-200#99F6E4
- v3 emerald-200#A7F3D0
- emerald-200#A4F4CF
- paleturquoise#AFEEEE
- aquamarine#7FFFD4
- cyan-200#A2F4FD
- v3 cyan-200#A5F3FC
- green-200#B9F8CF
Lichter en donkerder, dezelfde tint en chroma
- #AAFFF8 · oklch(0.971 0.096 180.1) · ΔL +0.06
- #82E3D0 · oklch(0.851 0.096 180.1) · ΔL −0.06