HEX in HSL: #365314
Auch bekannt als: Tailwind v3 lime-900
Ergebnis
#365314 → hsl(88 61% 20%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #365314. 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.2118 G = 0.3255 B = 0.0784
2. max, min, Δ
max = 0.3255 min = 0.0784 Δ = max − min = 0.2471
3. L
L = (max + min) / 2 = 0.2020 = 20.20%
4. S
S = Δ / (1 − |2L − 1|) = 0.6117 = 61.17%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.0784 − 0.2118) / 0.2471 + 2) = 87.62°
6. HSL
hsl(87.62 61.17% 20.20%)
Alle Formate
- HEX
- #365314
- RGB
- rgb(54 83 20)
- RGB (legacy)
- rgb(54, 83, 20)
- HSL
- hsl(87.62 61.17% 20.20%) → hsl(88 61% 20%)
- HWB
- hwb(88 8% 67%)
- OKLCH
- oklch(0.405 0.096 131.1) · oklch(40.5% 0.096 131.1)
- OKLab
- oklab(0.405 -0.063 0.072)
- Lab (D50)
- lab(31.95 -19.75 31.40)
- LCH (D50)
- lch(31.95 37.09 122.16)
- Display P3
- color(display-p3 0.2367 0.3225 0.1192)
- Linear sRGB
- color(srgb-linear 0.0369 0.0865 0.0070)
Gamut: sRGB und Display P3
#365314 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.111, Display P3 von 0.130; diese Farbe nutzt 86 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #365314;
color: rgb(54 83 20);
color: hsl(88 61% 20%);
color: oklch(0.405 0.096 131.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.405 0.096 131.1);
}
/* arbitrary values */
class="text-[#365314] bg-[oklch(0.405_0.096_131.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2367 0.3225 0.1192); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #365314 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lime-900#35530E
- green-900#0D542B
- v3 green-900#14532D
- v3 lime-800#3F6212
- lime-800#3C6300
- v3 green-800#166534
- green-800#016630
- emerald-800#006045
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #466427 · oklch(0.465 0.096 131.1) · ΔL +0.06
- #274200 · oklch(0.345 0.096 131.1) · ΔL −0.06