HSL in HEX: #007595
Auch bekannt als: Tailwind cyan-700
Ergebnis
hsl(192.89 100.00% 29.22%) → #007595
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #007595. 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 = 192.89°, S = 100.00%, L = 29.22%
2. C
C = (1 − |2L − 1|) × S = 0.58440
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.45885 (H / 60° = 3.2148, sector 3)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.45885, 0.58440) R = round((0.00000 + 0.00000) × 255) = 0 G = round((0.45885 + 0.00000) × 255) = 117 B = round((0.58440 + 0.00000) × 255) = 149
6. RGB → HEX
#007595
Alle Formate
- HEX
- #007595
- RGB
- rgb(0 117 149)
- RGB (legacy)
- rgb(0, 117, 149)
- HSL
- hsl(192.89 100.00% 29.22%) → hsl(193 100% 29%)
- HWB
- hwb(193 0% 42%)
- OKLCH
- oklch(0.523 0.099 225.3) · oklch(52.3% 0.099 225.3)
- OKLab
- oklab(0.523 -0.070 -0.071)
- Lab (D50)
- lab(45.05 -19.53 -25.75)
- LCH (D50)
- lch(45.05 32.32 232.83)
- Display P3
- color(display-p3 0.1950 0.4516 0.5717)
- Linear sRGB
- color(srgb-linear 0.0000 0.1779 0.3005)
Gamut: sRGB und Display P3
#007595 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.099, Display P3 von 0.131; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #007595;
color: rgb(0 117 149);
color: hsl(193 100% 29%);
color: oklch(0.523 0.099 225.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.523 0.099 225.3);
}
/* arbitrary values */
class="text-[#007595] bg-[oklch(0.523_0.099_225.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1950 0.4516 0.5717); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #007595 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 cyan-700#0E7490
- v3 sky-700#0369A1
- sky-700#0069A8
- teal#008080
- v3 teal-700#0F766E
- teal-700#00786F
- slate-500#62748E
- steelblue#4682B4
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2587A8 · oklch(0.583 0.099 225.3) · ΔL +0.06
- #006383 · oklch(0.463 0.099 225.3) · ΔL −0.06