HEX in HSL: #431407
Auch bekannt als: Tailwind v3 orange-950
Ergebnis
#431407 → hsl(13 81% 15%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #431407. 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. RGB ÷ 255
R = 0.2627 G = 0.0784 B = 0.0275
2. max, min, Δ
max = 0.2627 min = 0.0275 Δ = max − min = 0.2353
3. L
L = (max + min) / 2 = 0.1451 = 14.51%
4. S
S = Δ / (1 − |2L − 1|) = 0.8108 = 81.08%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.0784 − 0.0275) / 0.2353) mod 6) = 13.00°
6. HSL
hsl(13.00 81.08% 14.51%)
Alle Formate
- HEX
- #431407
- RGB
- rgb(67 20 7)
- RGB (legacy)
- rgb(67, 20, 7)
- HSL
- hsl(13.00 81.08% 14.51%) → hsl(13 81% 15%)
- HWB
- hwb(13 3% 74%)
- OKLCH
- oklch(0.266 0.076 36.3) · oklch(26.6% 0.076 36.3)
- OKLab
- oklab(0.266 0.061 0.045)
- Lab (D50)
- lab(14.19 22.57 18.85)
- LCH (D50)
- lch(14.19 29.41 39.86)
- Display P3
- color(display-p3 0.2412 0.0906 0.0438)
- Linear sRGB
- color(srgb-linear 0.0561 0.0070 0.0021)
Gamut: sRGB und Display P3
#431407 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.091, Display P3 von 0.102; diese Farbe nutzt 84 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #431407;
color: rgb(67 20 7);
color: hsl(13 81% 15%);
color: oklch(0.266 0.076 36.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.266 0.076 36.3);
}
/* arbitrary values */
class="text-[#431407] bg-[oklch(0.266_0.076_36.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2412 0.0906 0.0438); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #431407 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- orange-950#441306
- amber-950#461901
- v3 amber-950#451A03
- v3 red-950#450A0A
- red-950#460809
- v3 yellow-950#422006
- yellow-950#432004
- v3 rose-950#4C0519
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #542416 · oklch(0.326 0.076 36.3) · ΔL +0.06
- #320400 · oklch(0.206 0.076 36.3) · ΔL −0.06