HSL in HEX: #F0FDF4

Auch bekannt als: Tailwind green-50, Tailwind v3 green-50

Ergebnis

hsl(138.46 76.47% 96.67%) → #F0FDF4

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #f0fdf4. 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 = 138.46°, S = 76.47%, L = 96.67%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.00000, 0.05093, 0.01567)
    R = round((0.00000 + 0.94124) × 255) = 240
    G = round((0.05093 + 0.94124) × 255) = 253
    B = round((0.01567 + 0.94124) × 255) = 244
  6. 6. RGB → HEX

    #F0FDF4

Alle Formate

HEX
#f0fdf4
RGB
rgb(240 253 244)
RGB (legacy)
rgb(240, 253, 244)
HSL
hsl(138.46 76.47% 96.67%) → hsl(138 76% 97%)
HWB
hwb(138 94% 1%)
OKLCH
oklch(0.982 0.018 155.8) · oklch(98.2% 0.018 155.8)
OKLab
oklab(0.982 -0.016 0.007)
Lab (D50)
lab(98.15 -5.62 2.77)
LCH (D50)
lch(98.15 6.26 153.78)
Display P3
color(display-p3 0.9505 0.9905 0.9592)
Linear sRGB
color(srgb-linear 0.8714 0.9823 0.9047)

Gamut: sRGB und Display P3

#F0FDF4 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.027, Display P3 von 0.030; diese Farbe nutzt 67 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #f0fdf4;
  color: rgb(240 253 244);
  color: hsl(138 76% 97%);
  color: oklch(0.982 0.018 155.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.982 0.018 155.8);
}
/* arbitrary values */
class="text-[#f0fdf4] bg-[oklch(0.982_0.018_155.8)]"

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

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

  • #F6FFFA · oklch(1.000 0.018 155.8) · ΔL +0.06
  • #DCE9E0 · oklch(0.922 0.018 155.8) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →