RGB in HEX: #155E75
Auch bekannt als: Tailwind v3 cyan-800
Ergebnis
rgb(21 94 117) → #155E75
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #155e75. 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. base 10 → base 16
R = 21 = 1×16 + 5 → 15 G = 94 = 5×16 + 14 → 5E B = 117 = 7×16 + 5 → 75
2. pairs → HEX
15 5E 75 → #155E75
Alle Formate
- HEX
- #155e75
- RGB
- rgb(21 94 117)
- RGB (legacy)
- rgb(21, 94, 117)
- HSL
- hsl(194.37 69.57% 27.06%) → hsl(194 70% 27%)
- HWB
- hwb(194 8% 54%)
- OKLCH
- oklch(0.450 0.077 224.3) · oklch(45.0% 0.077 224.3)
- OKLab
- oklab(0.450 -0.055 -0.054)
- Lab (D50)
- lab(36.50 -15.90 -19.68)
- LCH (D50)
- lch(36.50 25.30 231.06)
- Display P3
- color(display-p3 0.1757 0.3631 0.4495)
- Linear sRGB
- color(srgb-linear 0.0075 0.1119 0.1779)
Gamut: sRGB und Display P3
#155E75 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.085, Display P3 von 0.112; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #155e75;
color: rgb(21 94 117);
color: hsl(194 70% 27%);
color: oklch(0.450 0.077 224.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.450 0.077 224.3);
}
/* arbitrary values */
class="text-[#155e75] bg-[oklch(0.450_0.077_224.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1757 0.3631 0.4495); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #155e75 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- cyan-800#005F78
- v3 sky-800#075985
- sky-800#00598A
- slate-600#45556C
- v3 teal-800#115E59
- teal-800#005F5A
- v3 slate-600#475569
- v3 cyan-900#164E63
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2B6F87 · oklch(0.510 0.077 224.3) · ΔL +0.06
- #004D64 · oklch(0.390 0.077 224.3) · ΔL −0.06