HEX in HSL: #CFFAFE
Auch bekannt als: Tailwind v3 cyan-100
Ergebnis
#CFFAFE → hsl(185 96% 90%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #cffafe. 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.8118 G = 0.9804 B = 0.9961
2. max, min, Δ
max = 0.9961 min = 0.8118 Δ = max − min = 0.1843
3. L
L = (max + min) / 2 = 0.9039 = 90.39%
4. S
S = Δ / (1 − |2L − 1|) = 0.9592 = 95.92%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.8118 − 0.9804) / 0.1843 + 4) = 185.11°
6. HSL
hsl(185.11 95.92% 90.39%)
Alle Formate
- HEX
- #cffafe
- RGB
- rgb(207 250 254)
- RGB (legacy)
- rgb(207, 250, 254)
- HSL
- hsl(185.11 95.92% 90.39%) → hsl(185 96% 90%)
- HWB
- hwb(185 81% 0%)
- OKLCH
- oklch(0.956 0.044 203.4) · oklch(95.6% 0.044 203.4)
- OKLab
- oklab(0.956 -0.041 -0.018)
- Lab (D50)
- lab(95.34 -13.62 -6.75)
- LCH (D50)
- lch(95.34 15.20 206.34)
- Display P3
- color(display-p3 0.8450 0.9754 0.9922)
- Linear sRGB
- color(srgb-linear 0.6240 0.9560 0.9911)
Gamut: sRGB und Display P3
#CFFAFE 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.048, Display P3 von 0.051; diese Farbe nutzt 93 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #cffafe;
color: rgb(207 250 254);
color: hsl(185 96% 90%);
color: oklch(0.956 0.044 203.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.956 0.044 203.4);
}
/* arbitrary values */
class="text-[#cffafe] bg-[oklch(0.956_0.044_203.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8450 0.9754 0.9922); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #cffafe calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- cyan-100#CEFAFE
- v3 teal-100#CCFBF1
- teal-100#CBFBF1
- lightcyan#E0FFFF
- sky-100#DFF2FE
- v3 sky-100#E0F2FE
- v3 emerald-100#D1FAE5
- emerald-100#D0FAE5
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #DDFFFF · oklch(1.000 0.044 203.4) · ΔL +0.06
- #BCE6EA · oklch(0.896 0.044 203.4) · ΔL −0.06