HEX in HSL: #C800DE
Auch bekannt als: Tailwind fuchsia-600
Ergebnis
#C800DE → hsl(294 100% 44%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #c800de. 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.7843 G = 0.0000 B = 0.8706
2. max, min, Δ
max = 0.8706 min = 0.0000 Δ = max − min = 0.8706
3. L
L = (max + min) / 2 = 0.4353 = 43.53%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.7843 − 0.0000) / 0.8706 + 4) = 294.05°
6. HSL
hsl(294.05 100.00% 43.53%)
Alle Formate
- HEX
- #c800de
- RGB
- rgb(200 0 222)
- RGB (legacy)
- rgb(200, 0, 222)
- HSL
- hsl(294.05 100.00% 43.53%) → hsl(294 100% 44%)
- HWB
- hwb(294 0% 13%)
- OKLCH
- oklch(0.598 0.283 322.8) · oklch(59.8% 0.283 322.8)
- OKLab
- oklab(0.598 0.225 -0.171)
- Lab (D50)
- lab(48.61 80.33 -61.13)
- LCH (D50)
- lch(48.61 100.94 322.73)
- Display P3
- color(display-p3 0.7187 0.1481 0.8406)
- Linear sRGB
- color(srgb-linear 0.5776 0.0000 0.7305)
Gamut: sRGB und Display P3
#C800DE 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.283, Display P3 von 0.307; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #c800de;
color: rgb(200 0 222);
color: hsl(294 100% 44%);
color: oklch(0.598 0.283 322.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.598 0.283 322.8);
}
/* arbitrary values */
class="text-[#c800de] bg-[oklch(0.598_0.283_322.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7187 0.1481 0.8406); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #c800de calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 fuchsia-600#C026D3
- fuchsia-500#E12AFB
- v3 fuchsia-500#D946EF
- fuchsia-700#A800B7
- mediumorchid#BA55D3
- purple-500#AD46FF
- darkorchid#9932CC
- v3 fuchsia-700#A21CAF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #DD30F3 · oklch(0.658 0.283 322.8) · ΔL +0.06
- #B400CA · oklch(0.538 0.283 322.8) · ΔL −0.06