HEX naar HSL: #7C6D67
Ook bekend als: Tailwind taupe-500
Resultaat
#7C6D67 → hsl(17 9% 45%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #7c6d67. 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.4863 G = 0.4275 B = 0.4039
2. max, min, Δ
max = 0.4863 min = 0.4039 Δ = max − min = 0.0824
3. L
L = (max + min) / 2 = 0.4451 = 44.51%
4. S
S = Δ / (1 − |2L − 1|) = 0.0925 = 9.25%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.4275 − 0.4039) / 0.0824) mod 6) = 17.14°
6. HSL
hsl(17.14 9.25% 44.51%)
Alle formaten
- HEX
- #7c6d67
- RGB
- rgb(124 109 103)
- RGB (legacy)
- rgb(124, 109, 103)
- HSL
- hsl(17.14 9.25% 44.51%) → hsl(17 9% 45%)
- HWB
- hwb(17 40% 51%)
- OKLCH
- oklch(0.547 0.021 43.1) · oklch(54.7% 0.021 43.1)
- OKLab
- oklab(0.547 0.015 0.014)
- Lab (D50)
- lab(47.33 5.30 5.64)
- LCH (D50)
- lch(47.33 7.73 46.79)
- Display P3
- color(display-p3 0.4765 0.4296 0.4073)
- Linear sRGB
- color(srgb-linear 0.2016 0.1529 0.1356)
Gamut: sRGB en Display P3
#7C6D67 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.162 en Display P3 van 0.183; deze kleur gebruikt 13% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #7c6d67;
color: rgb(124 109 103);
color: hsl(17 9% 45%);
color: oklch(0.547 0.021 43.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.547 0.021 43.1);
}
/* arbitrary values */
class="text-[#7c6d67] bg-[oklch(0.547_0.021_43.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4765 0.4296 0.4073); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #7c6d67 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- stone-500#79716B
- v3 stone-500#78716C
- neutral-500#737373
- v3 zinc-500#71717A
- zinc-500#71717B
- dimgray#696969
- mauve-500#79697B
- v3 gray-500#6B7280
Lichter en donkerder, dezelfde tint en chroma
- #8E7F78 · oklch(0.607 0.021 43.1) · ΔL +0.06
- #6B5C56 · oklch(0.487 0.021 43.1) · ΔL −0.06