HSL in HEX: #090B0C
Auch bekannt als: Tailwind mist-950
Ergebnis
hsl(200.00 14.29% 4.12%) → #090B0C
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #090b0c. 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. input
H = 200.00°, S = 14.29%, L = 4.12%
2. C
C = (1 − |2L − 1|) × S = 0.01177
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00785 (H / 60° = 3.3333, sector 3)
4. m
m = L − C / 2 = 0.03531
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.00785, 0.01177) R = round((0.00000 + 0.03531) × 255) = 9 G = round((0.00785 + 0.03531) × 255) = 11 B = round((0.01177 + 0.03531) × 255) = 12
6. RGB → HEX
#090B0C
Alle Formate
- HEX
- #090b0c
- RGB
- rgb(9 11 12)
- RGB (legacy)
- rgb(9, 11, 12)
- HSL
- hsl(200.00 14.29% 4.12%) → hsl(200 14% 4%)
- HWB
- hwb(200 4% 95%)
- OKLCH
- oklch(0.148 0.004 228.8) · oklch(14.8% 0.004 228.8)
- OKLab
- oklab(0.148 -0.003 -0.003)
- Lab (D50)
- lab(2.92 -0.44 -0.61)
- LCH (D50)
- lch(2.92 0.75 234.40)
- Display P3
- color(display-p3 0.0367 0.0429 0.0466)
- Linear sRGB
- color(srgb-linear 0.0027 0.0033 0.0037)
Gamut: sRGB und Display P3
#090B0C 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.029, Display P3 von 0.038; diese Farbe nutzt 14 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #090b0c;
color: rgb(9 11 12);
color: hsl(200 14% 4%);
color: oklch(0.148 0.004 228.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.148 0.004 228.8);
}
/* arbitrary values */
class="text-[#090b0c] bg-[oklch(0.148_0.004_228.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0367 0.0429 0.0466); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #090b0c calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- neutral-950#0A0A0A
- zinc-950#09090B
- stone-950#0C0A09
- mauve-950#0C090C
- olive-950#0C0C09
- gray-950#030712
- v3 slate-950#020617
- slate-950#020618
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #161819 · oklch(0.208 0.004 228.8) · ΔL +0.06
- #020203 · oklch(0.088 0.004 228.8) · ΔL −0.06