HEX naar HSL: #737373
Ook bekend als: Tailwind neutral-500, Tailwind v3 neutral-500
Resultaat
#737373 → hsl(0 0% 45%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #737373. 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.4510 G = 0.4510 B = 0.4510
2. max, min, Δ
max = 0.4510 min = 0.4510 Δ = max − min = 0.0000
3. L
L = (max + min) / 2 = 0.4510 = 45.10%
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% 45.10%)
Alle formaten
- HEX
- #737373
- RGB
- rgb(115 115 115)
- RGB (legacy)
- rgb(115, 115, 115)
- HSL
- hsl(0.00 0.00% 45.10%) → hsl(0 0% 45%)
- HWB
- hwb(0 45% 55%)
- OKLCH
- oklch(0.556 0.000 0.0) · oklch(55.6% 0.000 0.0)
- OKLab
- oklab(0.556 0.000 0.000)
- Lab (D50)
- lab(48.44 0.00 0.00)
- LCH (D50)
- lch(48.44 0.00 0.00)
- Display P3
- color(display-p3 0.4510 0.4510 0.4510)
- Linear sRGB
- color(srgb-linear 0.1714 0.1714 0.1714)
Gamut: sRGB en Display P3
#737373 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.225 en Display P3 van 0.254; deze kleur gebruikt 0% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #737373;
color: rgb(115 115 115);
color: hsl(0 0% 45%);
color: oklch(0.556 0.000 0.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.556 0.000 0.0);
}
/* arbitrary values */
class="text-[#737373] bg-[oklch(0.556_0.000_0.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4510 0.4510 0.4510); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #737373 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- v3 stone-500#78716C
- stone-500#79716B
- v3 zinc-500#71717A
- zinc-500#71717B
- mist-500#67787C
- taupe-500#7C6D67
- v3 gray-500#6B7280
- gray-500#6A7282
Lichter en donkerder, dezelfde tint en chroma
- #858585 · oklch(0.616 0.000 0.0) · ΔL +0.06
- #626262 · oklch(0.496 0.000 0.0) · ΔL −0.06