HEX in OKLCH: #A5F3FC

Auch bekannt als: Tailwind v3 cyan-200

Ergebnis

#A5F3FC → oklch(0.917 0.077 205.0)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a5f3fc. 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. sRGB → linear

    R: 165/255 = 0.64706 → 0.376262  (((x + 0.055) / 1.055)^2.4)
    G: 243/255 = 0.95294 → 0.896269  (((x + 0.055) / 1.055)^2.4)
    B: 252/255 = 0.98824 → 0.973445  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.685882
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.794366
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.898971
  3. 3. cube root

    l′ = ∛0.685882 = 0.881894
    m′ = ∛0.794366 = 0.926134
    s′ = ∛0.898971 = 0.965121
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.91666
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.06994
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.03267
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.07719
    H = atan2(b, a) = 205.041°
    L = 0.91666
  6. 6. OKLCH

    oklch(0.91666 0.07719 205.041)
    rounded: oklch(0.917 0.077 205.0)

Alle Formate

HEX
#a5f3fc
RGB
rgb(165 243 252)
RGB (legacy)
rgb(165, 243, 252)
HSL
hsl(186.21 93.55% 81.76%) → hsl(186 94% 82%)
HWB
hwb(186 65% 1%)
OKLCH
oklch(0.917 0.077 205.0) · oklch(91.7% 0.077 205.0)
OKLab
oklab(0.917 -0.070 -0.033)
Lab (D50)
lab(91.02 -23.21 -12.39)
LCH (D50)
lch(91.02 26.31 208.09)
Display P3
color(display-p3 0.7143 0.9448 0.9812)
Linear sRGB
color(srgb-linear 0.3763 0.8963 0.9734)

Gamut: sRGB und Display P3

#A5F3FC 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.087, Display P3 von 0.094; diese Farbe nutzt 89 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #a5f3fc;
  color: rgb(165 243 252);
  color: hsl(186 94% 82%);
  color: oklch(0.917 0.077 205.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.917 0.077 205.0);
}
/* arbitrary values */
class="text-[#a5f3fc] bg-[oklch(0.917_0.077_205.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7143 0.9448 0.9812); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a5f3fc 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

  • #B9FFFF · oklch(0.977 0.077 205.0) · ΔL +0.06
  • #92DFE8 · oklch(0.857 0.077 205.0) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →