HSL in HEX: #065F46
Auch bekannt als: Tailwind v3 emerald-800
Ergebnis
hsl(163.15 88.12% 19.80%) → #065F46
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #065f46. 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. input
H = 163.15°, S = 88.12%, L = 19.80%
2. C
C = (1 − |2L − 1|) × S = 0.34896
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.25096 (H / 60° = 2.7192, sector 2)
4. m
m = L − C / 2 = 0.02352
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.34896, 0.25096) R = round((0.00000 + 0.02352) × 255) = 6 G = round((0.34896 + 0.02352) × 255) = 95 B = round((0.25096 + 0.02352) × 255) = 70
6. RGB → HEX
#065F46
Alle Formate
- HEX
- #065f46
- RGB
- rgb(6 95 70)
- RGB (legacy)
- rgb(6, 95, 70)
- HSL
- hsl(163.15 88.12% 19.80%) → hsl(163 88% 20%)
- HWB
- hwb(163 2% 63%)
- OKLCH
- oklch(0.432 0.086 166.9) · oklch(43.2% 0.086 166.9)
- OKLab
- oklab(0.432 -0.084 0.020)
- Lab (D50)
- lab(35.23 -29.98 7.30)
- LCH (D50)
- lch(35.23 30.85 166.31)
- Display P3
- color(display-p3 0.1593 0.3667 0.2808)
- Linear sRGB
- color(srgb-linear 0.0018 0.1144 0.0612)
Gamut: sRGB und Display P3
#065F46 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.089, Display P3 von 0.121; diese Farbe nutzt 98 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #065f46;
color: rgb(6 95 70);
color: hsl(163 88% 20%);
color: oklch(0.432 0.086 166.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.432 0.086 166.9);
}
/* arbitrary values */
class="text-[#065f46] bg-[oklch(0.432_0.086_166.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1593 0.3667 0.2808); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #065f46 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- emerald-800#006045
- teal-800#005F5A
- v3 teal-800#115E59
- v3 green-800#166534
- green-800#016630
- v3 green-900#14532D
- green-900#0D542B
- emerald-900#004F3B
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #227056 · oklch(0.492 0.086 166.9) · ΔL +0.06
- #004E36 · oklch(0.372 0.086 166.9) · ΔL −0.06