HEX in HSL: #104E64
Auch bekannt als: Tailwind cyan-900
Ergebnis
#104E64 → hsl(196 72% 23%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #104e64. 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.0627 G = 0.3059 B = 0.3922
2. max, min, Δ
max = 0.3922 min = 0.0627 Δ = max − min = 0.3294
3. L
L = (max + min) / 2 = 0.2275 = 22.75%
4. S
S = Δ / (1 − |2L − 1|) = 0.7241 = 72.41%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0627 − 0.3059) / 0.3294 + 4) = 195.71°
6. HSL
hsl(195.71 72.41% 22.75%)
Alle Formate
- HEX
- #104e64
- RGB
- rgb(16 78 100)
- RGB (legacy)
- rgb(16, 78, 100)
- HSL
- hsl(195.71 72.41% 22.75%) → hsl(196 72% 23%)
- HWB
- hwb(196 6% 61%)
- OKLCH
- oklch(0.397 0.070 227.2) · oklch(39.7% 0.070 227.2)
- OKLab
- oklab(0.397 -0.047 -0.051)
- Lab (D50)
- lab(30.28 -13.23 -18.68)
- LCH (D50)
- lch(30.28 22.89 234.69)
- Display P3
- color(display-p3 0.1418 0.3012 0.3836)
- Linear sRGB
- color(srgb-linear 0.0052 0.0762 0.1274)
Gamut: sRGB und Display P3
#104E64 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.077, Display P3 von 0.101; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #104e64;
color: rgb(16 78 100);
color: hsl(196 72% 23%);
color: oklch(0.397 0.070 227.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.397 0.070 227.2);
}
/* arbitrary values */
class="text-[#104e64] bg-[oklch(0.397_0.070_227.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1418 0.3012 0.3836); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #104e64 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 cyan-900#164E63
- v3 sky-900#0C4A6E
- sky-900#024A70
- darkslategray#2F4F4F
- v3 teal-900#134E4A
- slate-700#314158
- teal-900#0B4F4A
- v3 slate-700#334155
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #255F75 · oklch(0.457 0.070 227.2) · ΔL +0.06
- #003E53 · oklch(0.337 0.070 227.2) · ΔL −0.06