HEX naar HSL: #F0FDFA

Ook bekend als: Tailwind teal-50, Tailwind v3 teal-50

Resultaat

#F0FDFA → hsl(166 76% 97%)

Waarden staan op volle precisie, dus terugrekenen geeft exact #f0fdfa. De afgeronde vorm plak je gewoonlijk in CSS.

Stap-voor-stap berekening

Elk getal wordt uit de invoer berekend, er wordt niets opgezocht.

  1. 1. RGB ÷ 255

    R = 0.9412
    G = 0.9922
    B = 0.9804
  2. 2. max, min, Δ

    max = 0.9922
    min = 0.9412
    Δ = max − min = 0.0510
  3. 3. L

    L = (max + min) / 2 = 0.9667 = 96.67%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.7647 = 76.47%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.9804 − 0.9412) / 0.0510 + 2) = 166.15°
  6. 6. HSL

    hsl(166.15 76.47% 96.67%)

Alle formaten

HEX
#f0fdfa
RGB
rgb(240 253 250)
RGB (legacy)
rgb(240, 253, 250)
HSL
hsl(166.15 76.47% 96.67%) → hsl(166 76% 97%)
HWB
hwb(166 94% 1%)
OKLCH
oklch(0.984 0.014 180.7) · oklch(98.4% 0.014 180.7)
OKLab
oklab(0.984 -0.014 0.000)
Lab (D50)
lab(98.27 -4.82 -0.11)
LCH (D50)
lch(98.27 4.82 181.35)
Display P3
color(display-p3 0.9505 0.9905 0.9806)
Linear sRGB
color(srgb-linear 0.8714 0.9823 0.9560)

Gamut: sRGB en Display P3

#F0FDFA is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.022 en Display P3 van 0.026; deze kleur gebruikt 63% van de beschikbare sRGB-chroma.

CSS-snippets

.element {
  color: #f0fdfa;
  color: rgb(240 253 250);
  color: hsl(166 76% 97%);
  color: oklch(0.984 0.014 180.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.984 0.014 180.7);
}
/* arbitrary values */
class="text-[#f0fdfa] bg-[oklch(0.984_0.014_180.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9505 0.9905 0.9806); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f0fdfa calc(l - 0.1) c h); }

Kleuren in de buurt

Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).

Lichter en donkerder, dezelfde tint en chroma

  • #F5FFFF · oklch(1.000 0.014 180.7) · ΔL +0.06
  • #DCE9E6 · oklch(0.924 0.014 180.7) · ΔL −0.06

Openen in de studio

Andere converters voor deze kleur

Alle converters →