HEX in HSL: #00A6F4
Auch bekannt als: Tailwind sky-500
Ergebnis
#00A6F4 → hsl(199 100% 48%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #00a6f4. 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.0000 G = 0.6510 B = 0.9569
2. max, min, Δ
max = 0.9569 min = 0.0000 Δ = max − min = 0.9569
3. L
L = (max + min) / 2 = 0.4784 = 47.84%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0000 − 0.6510) / 0.9569 + 4) = 199.18°
6. HSL
hsl(199.18 100.00% 47.84%)
Alle Formate
- HEX
- #00a6f4
- RGB
- rgb(0 166 244)
- RGB (legacy)
- rgb(0, 166, 244)
- HSL
- hsl(199.18 100.00% 47.84%) → hsl(199 100% 48%)
- HWB
- hwb(199 0% 4%)
- OKLCH
- oklch(0.692 0.160 240.4) · oklch(69.2% 0.160 240.4)
- OKLab
- oklab(0.692 -0.079 -0.139)
- Lab (D50)
- lab(64.02 -15.26 -49.83)
- LCH (D50)
- lch(64.02 52.12 252.97)
- Display P3
- color(display-p3 0.2886 0.6411 0.9316)
- Linear sRGB
- color(srgb-linear 0.0000 0.3813 0.9047)
Gamut: sRGB und Display P3
#00A6F4 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.160, Display P3 von 0.194; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #00a6f4;
color: rgb(0 166 244);
color: hsl(199 100% 48%);
color: oklch(0.692 0.160 240.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.692 0.160 240.4);
}
/* arbitrary values */
class="text-[#00a6f4] bg-[oklch(0.692_0.160_240.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2886 0.6411 0.9316); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00a6f4 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 sky-500#0EA5E9
- blue-400#51A2FF
- v3 blue-400#60A5FA
- sky-400#00BCFF
- cornflowerblue#6495ED
- dodgerblue#1E90FF
- v3 sky-400#38BDF8
- deepskyblue#00BFFF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #30B9FF · oklch(0.752 0.160 240.4) · ΔL +0.06
- #0093E0 · oklch(0.632 0.160 240.4) · ΔL −0.06