HEX in RGB: #052E16
Auch bekannt als: Tailwind v3 green-950
Ergebnis
#052E16 → rgb(5 46 22)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #052e16. 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. HEX → pairs
#052E16 → 05 | 2E | 16
2. base 16 → base 10
R = 05₁₆ = 0×16 + 5 = 5 G = 2E₁₆ = 2×16 + 14 = 46 B = 16₁₆ = 1×16 + 6 = 22
3. RGB
rgb(5 46 22)
Alle Formate
- HEX
- #052e16
- RGB
- rgb(5 46 22)
- RGB (legacy)
- rgb(5, 46, 22)
- HSL
- hsl(144.88 80.39% 10.00%) → hsl(145 80% 10%)
- HWB
- hwb(145 2% 82%)
- OKLCH
- oklch(0.266 0.063 152.9) · oklch(26.6% 0.063 152.9)
- OKLab
- oklab(0.266 -0.056 0.029)
- Lab (D50)
- lab(15.70 -19.71 11.31)
- LCH (D50)
- lch(15.70 22.73 150.17)
- Display P3
- color(display-p3 0.0710 0.1773 0.0953)
- Linear sRGB
- color(srgb-linear 0.0015 0.0273 0.0080)
Gamut: sRGB und Display P3
#052E16 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 92 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #052e16;
color: rgb(5 46 22);
color: hsl(145 80% 10%);
color: oklch(0.266 0.063 152.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.266 0.063 152.9);
}
/* arbitrary values */
class="text-[#052e16] bg-[oklch(0.266_0.063_152.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0710 0.1773 0.0953); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #052e16 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- green-950#032E15
- v3 emerald-950#022C22
- emerald-950#002C22
- 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
- #173E25 · oklch(0.326 0.063 152.9) · ΔL +0.06
- #001F08 · oklch(0.206 0.063 152.9) · ΔL −0.06