HEX in HSL: #075985
Auch bekannt als: Tailwind v3 sky-800
Ergebnis
#075985 → hsl(201 90% 27%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #075985. 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.0275 G = 0.3490 B = 0.5216
2. max, min, Δ
max = 0.5216 min = 0.0275 Δ = max − min = 0.4941
3. L
L = (max + min) / 2 = 0.2745 = 27.45%
4. S
S = Δ / (1 − |2L − 1|) = 0.9000 = 90.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0275 − 0.3490) / 0.4941 + 4) = 200.95°
6. HSL
hsl(200.95 90.00% 27.45%)
Alle Formate
- HEX
- #075985
- RGB
- rgb(7 89 133)
- RGB (legacy)
- rgb(7, 89, 133)
- HSL
- hsl(200.95 90.00% 27.45%) → hsl(201 90% 27%)
- HWB
- hwb(201 3% 48%)
- OKLCH
- oklch(0.443 0.100 240.8) · oklch(44.3% 0.100 240.8)
- OKLab
- oklab(0.443 -0.049 -0.087)
- Lab (D50)
- lab(35.26 -9.48 -31.39)
- LCH (D50)
- lch(35.26 32.79 253.19)
- Display P3
- color(display-p3 0.1495 0.3435 0.5073)
- Linear sRGB
- color(srgb-linear 0.0021 0.0999 0.2346)
Gamut: sRGB und Display P3
#075985 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.103, Display P3 von 0.134; diese Farbe nutzt 97 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #075985;
color: rgb(7 89 133);
color: hsl(201 90% 27%);
color: oklch(0.443 0.100 240.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.443 0.100 240.8);
}
/* arbitrary values */
class="text-[#075985] bg-[oklch(0.443_0.100_240.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1495 0.3435 0.5073); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #075985 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- sky-800#00598A
- cyan-800#005F78
- v3 cyan-800#155E75
- sky-900#024A70
- v3 sky-900#0C4A6E
- cyan-900#104E64
- v3 cyan-900#164E63
- v3 sky-700#0369A1
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #226A98 · oklch(0.503 0.100 240.8) · ΔL +0.06
- #004873 · oklch(0.383 0.100 240.8) · ΔL −0.06