HEX naar HSL: #99F6E4
Ook bekend als: Tailwind v3 teal-200
Resultaat
#99F6E4 → hsl(168 84% 78%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #99f6e4. 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.6000 G = 0.9647 B = 0.8941
2. max, min, Δ
max = 0.9647 min = 0.6000 Δ = max − min = 0.3647
3. L
L = (max + min) / 2 = 0.7824 = 78.24%
4. S
S = Δ / (1 − |2L − 1|) = 0.8378 = 83.78%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8941 − 0.6000) / 0.3647 + 2) = 168.39°
6. HSL
hsl(168.39 83.78% 78.24%)
Alle formaten
- HEX
- #99f6e4
- RGB
- rgb(153 246 228)
- RGB (legacy)
- rgb(153, 246, 228)
- HSL
- hsl(168.39 83.78% 78.24%) → hsl(168 84% 78%)
- HWB
- hwb(168 60% 4%)
- OKLCH
- oklch(0.910 0.093 180.4) · oklch(91.0% 0.093 180.4)
- OKLab
- oklab(0.910 -0.093 -0.001)
- Lab (D50)
- lab(90.71 -31.97 -0.52)
- LCH (D50)
- lch(90.71 31.97 180.94)
- Display P3
- color(display-p3 0.6840 0.9554 0.8955)
- Linear sRGB
- color(srgb-linear 0.3185 0.9216 0.7758)
Gamut: sRGB en Display P3
#99F6E4 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.137 en Display P3 van 0.157; deze kleur gebruikt 67% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #99f6e4;
color: rgb(153 246 228);
color: hsl(168 84% 78%);
color: oklch(0.910 0.093 180.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.910 0.093 180.4);
}
/* arbitrary values */
class="text-[#99f6e4] bg-[oklch(0.910_0.093_180.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6840 0.9554 0.8955); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #99f6e4 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- teal-200#96F7E4
- v3 emerald-200#A7F3D0
- emerald-200#A4F4CF
- paleturquoise#AFEEEE
- cyan-200#A2F4FD
- v3 cyan-200#A5F3FC
- v3 green-200#BBF7D0
- green-200#B9F8CF
Lichter en donkerder, dezelfde tint en chroma
- #ADFFF8 · oklch(0.970 0.093 180.4) · ΔL +0.06
- #85E2D0 · oklch(0.850 0.093 180.4) · ΔL −0.06