HEX in HSL: #032E15
Auch bekannt als: Tailwind green-950
Ergebnis
#032E15 → hsl(145 88% 10%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #032e15. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.0118 G = 0.1804 B = 0.0824
2. max, min, Δ
max = 0.1804 min = 0.0118 Δ = max − min = 0.1686
3. L
L = (max + min) / 2 = 0.0961 = 9.61%
4. S
S = Δ / (1 − |2L − 1|) = 0.8776 = 87.76%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.0824 − 0.0118) / 0.1686 + 2) = 145.12°
6. HSL
hsl(145.12 87.76% 9.61%)
Alle Formate
- HEX
- #032e15
- RGB
- rgb(3 46 21)
- RGB (legacy)
- rgb(3, 46, 21)
- HSL
- hsl(145.12 87.76% 9.61%) → hsl(145 88% 10%)
- HWB
- hwb(145 1% 82%)
- OKLCH
- oklch(0.265 0.065 152.8) · oklch(26.5% 0.065 152.8)
- OKLab
- oklab(0.265 -0.058 0.030)
- Lab (D50)
- lab(15.61 -20.43 11.82)
- LCH (D50)
- lch(15.61 23.60 149.93)
- Display P3
- color(display-p3 0.0666 0.1772 0.0920)
- Linear sRGB
- color(srgb-linear 0.0009 0.0273 0.0075)
Gamut: sRGB und Display P3
#032E15 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.069, Display P3 von 0.095; diese Farbe nutzt 95 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #032e15;
color: rgb(3 46 21);
color: hsl(145 88% 10%);
color: oklch(0.265 0.065 152.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.265 0.065 152.8);
}
/* arbitrary values */
class="text-[#032e15] bg-[oklch(0.265_0.065_152.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0666 0.1772 0.0920); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #032e15 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 green-950#052E16
- emerald-950#002C22
- v3 emerald-950#022C22
- v3 lime-950#1A2E05
- lime-950#192E03
- teal-950#022F2E
- v3 teal-950#042F2E
- olive-800#2B2B22
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #153E24 · oklch(0.325 0.065 152.8) · ΔL +0.06
- #001F07 · oklch(0.205 0.065 152.8) · ΔL −0.06