HEX in HSL: #06B6D4
Auch bekannt als: Tailwind v3 cyan-500
Ergebnis
#06B6D4 → hsl(189 95% 43%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #06b6d4. 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.0235 G = 0.7137 B = 0.8314
2. max, min, Δ
max = 0.8314 min = 0.0235 Δ = max − min = 0.8078
3. L
L = (max + min) / 2 = 0.4275 = 42.75%
4. S
S = Δ / (1 − |2L − 1|) = 0.9450 = 94.50%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0235 − 0.7137) / 0.8078 + 4) = 188.74°
6. HSL
hsl(188.74 94.50% 42.75%)
Alle Formate
- HEX
- #06b6d4
- RGB
- rgb(6 182 212)
- RGB (legacy)
- rgb(6, 182, 212)
- HSL
- hsl(188.74 94.50% 42.75%) → hsl(189 95% 43%)
- HWB
- hwb(189 2% 17%)
- OKLCH
- oklch(0.715 0.126 215.2) · oklch(71.5% 0.126 215.2)
- OKLab
- oklab(0.715 -0.103 -0.073)
- Lab (D50)
- lab(67.70 -31.60 -26.68)
- LCH (D50)
- lch(67.70 41.35 220.17)
- Display P3
- color(display-p3 0.3219 0.7030 0.8172)
- Linear sRGB
- color(srgb-linear 0.0018 0.4678 0.6584)
Gamut: sRGB und Display P3
#06B6D4 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.126, Display P3 von 0.168; diese Farbe nutzt 99 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #06b6d4;
color: rgb(6 182 212);
color: hsl(189 95% 43%);
color: oklch(0.715 0.126 215.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.715 0.126 215.2);
}
/* arbitrary values */
class="text-[#06b6d4] bg-[oklch(0.715_0.126_215.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3219 0.7030 0.8172); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #06b6d4 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- cyan-500#00B8DB
- v3 sky-400#38BDF8
- lightseagreen#20B2AA
- sky-400#00BCFF
- deepskyblue#00BFFF
- v3 sky-500#0EA5E9
- darkturquoise#00CED1
- v3 teal-500#14B8A6
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #35C9E8 · oklch(0.775 0.126 215.2) · ΔL +0.06
- #00A3C0 · oklch(0.655 0.126 215.2) · ΔL −0.06