HEX in RGB: #0891B2
Auch bekannt als: Tailwind v3 cyan-600
Ergebnis
#0891B2 → rgb(8 145 178)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #0891b2. 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. HEX → pairs
#0891B2 → 08 | 91 | B2
2. base 16 → base 10
R = 08₁₆ = 0×16 + 8 = 8 G = 91₁₆ = 9×16 + 1 = 145 B = B2₁₆ = 11×16 + 2 = 178
3. RGB
rgb(8 145 178)
Alle Formate
- HEX
- #0891b2
- RGB
- rgb(8 145 178)
- RGB (legacy)
- rgb(8, 145, 178)
- HSL
- hsl(191.65 91.40% 36.47%) → hsl(192 91% 36%)
- HWB
- hwb(192 3% 30%)
- OKLCH
- oklch(0.609 0.111 221.7) · oklch(60.9% 0.111 221.7)
- OKLab
- oklab(0.609 -0.083 -0.074)
- Lab (D50)
- lab(55.13 -24.13 -26.99)
- LCH (D50)
- lch(55.13 36.21 228.20)
- Display P3
- color(display-p3 0.2534 0.5600 0.6843)
- Linear sRGB
- color(srgb-linear 0.0024 0.2831 0.4452)
Gamut: sRGB und Display P3
#0891B2 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.112, Display P3 von 0.149; diese Farbe nutzt 99 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #0891b2;
color: rgb(8 145 178);
color: hsl(192 91% 36%);
color: oklch(0.609 0.111 221.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.609 0.111 221.7);
}
/* arbitrary values */
class="text-[#0891b2] bg-[oklch(0.609_0.111_221.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2534 0.5600 0.6843); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0891b2 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- cyan-600#0092B8
- steelblue#4682B4
- v3 sky-600#0284C7
- darkcyan#008B8B
- sky-600#0084D1
- v3 teal-600#0D9488
- teal-600#009689
- cadetblue#5F9EA0
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2EA4C5 · oklch(0.669 0.111 221.7) · ΔL +0.06
- #007F9F · oklch(0.549 0.111 221.7) · ΔL −0.06