HSL in HEX: #CFFAFE

Auch bekannt als: Tailwind v3 cyan-100

Ergebnis

hsl(185.11 95.92% 90.39%) → #CFFAFE

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. 1. input

    H = 185.11°, S = 95.92%, L = 90.39%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.18436
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.16866   (H / 60° = 3.0852, sector 3)
  4. 4. m

    m = L − C / 2 = 0.81172
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.16866, 0.18436)
    R = round((0.00000 + 0.81172) × 255) = 207
    G = round((0.16866 + 0.81172) × 255) = 250
    B = round((0.18436 + 0.81172) × 255) = 254
  6. 6. RGB → HEX

    #CFFAFE

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).

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

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →