HEX naar HSL: #473C39
Ook bekend als: Tailwind taupe-700
Resultaat
#473C39 → hsl(13 11% 25%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #473c39. 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.2784 G = 0.2353 B = 0.2235
2. max, min, Δ
max = 0.2784 min = 0.2235 Δ = max − min = 0.0549
3. L
L = (max + min) / 2 = 0.2510 = 25.10%
4. S
S = Δ / (1 − |2L − 1|) = 0.1094 = 10.94%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.2353 − 0.2235) / 0.0549) mod 6) = 12.86°
6. HSL
hsl(12.86 10.94% 25.10%)
Alle formaten
- HEX
- #473c39
- RGB
- rgb(71 60 57)
- RGB (legacy)
- rgb(71, 60, 57)
- HSL
- hsl(12.86 10.94% 25.10%) → hsl(13 11% 25%)
- HWB
- hwb(13 22% 72%)
- OKLCH
- oklch(0.367 0.016 35.7) · oklch(36.7% 0.016 35.7)
- OKLab
- oklab(0.367 0.013 0.010)
- Lab (D50)
- lab(26.42 4.52 3.73)
- LCH (D50)
- lch(26.42 5.86 39.49)
- Display P3
- color(display-p3 0.2713 0.2369 0.2255)
- Linear sRGB
- color(srgb-linear 0.0630 0.0452 0.0409)
Gamut: sRGB en Display P3
#473C39 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.126 en Display P3 van 0.142; deze kleur gebruikt 13% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #473c39;
color: rgb(71 60 57);
color: hsl(13 11% 25%);
color: oklch(0.367 0.016 35.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.367 0.016 35.7);
}
/* arbitrary values */
class="text-[#473c39] bg-[oklch(0.367_0.016_35.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2713 0.2369 0.2255); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #473c39 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- v3 stone-700#44403C
- stone-700#44403B
- neutral-700#404040
- zinc-700#3F3F46
- mauve-700#463947
- mist-700#394447
- olive-700#474739
- v3 gray-700#374151
Lichter en donkerder, dezelfde tint en chroma
- #574C49 · oklch(0.427 0.016 35.7) · ΔL +0.06
- #372D2A · oklch(0.307 0.016 35.7) · ΔL −0.06