HEX naar HSL: #696969
Ook bekend als: CSS dimgray, CSS dimgrey
Resultaat
#696969 → hsl(0 0% 41%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #696969. 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.4118 G = 0.4118 B = 0.4118
2. max, min, Δ
max = 0.4118 min = 0.4118 Δ = max − min = 0.0000
3. L
L = (max + min) / 2 = 0.4118 = 41.18%
4. S
S = Δ / (1 − |2L − 1|) = 0.0000 = 0.00%
5. H
Δ = 0 → grey, hue is undefined (written as 0)
6. HSL
hsl(0.00 0.00% 41.18%)
Alle formaten
- HEX
- #696969
- RGB
- rgb(105 105 105)
- RGB (legacy)
- rgb(105, 105, 105)
- HSL
- hsl(0.00 0.00% 41.18%) → hsl(0 0% 41%)
- HWB
- hwb(0 41% 59%)
- OKLCH
- oklch(0.521 0.000 0.0) · oklch(52.1% 0.000 0.0)
- OKLab
- oklab(0.521 0.000 0.000)
- Lab (D50)
- lab(44.41 0.00 0.00)
- LCH (D50)
- lch(44.41 0.00 0.00)
- Display P3
- color(display-p3 0.4118 0.4118 0.4118)
- Linear sRGB
- color(srgb-linear 0.1413 0.1413 0.1413)
Gamut: sRGB en Display P3
#696969 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.211 en Display P3 van 0.238; deze kleur gebruikt 0% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #696969;
color: rgb(105 105 105);
color: hsl(0 0% 41%);
color: oklch(0.521 0.000 0.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.521 0.000 0.0);
}
/* arbitrary values */
class="text-[#696969] bg-[oklch(0.521_0.000_0.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4118 0.4118 0.4118); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #696969 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- taupe-500#7C6D67
- v3 zinc-500#71717A
- v3 stone-500#78716C
- neutral-500#737373
- zinc-500#71717B
- stone-500#79716B
- v3 gray-500#6B7280
- mauve-500#79697B
Lichter en donkerder, dezelfde tint en chroma
- #7A7A7A · oklch(0.581 0.000 0.0) · ΔL +0.06
- #585858 · oklch(0.461 0.000 0.0) · ΔL −0.06