Nächste benannte Farbe · #20122A
#20122A
Nächste benannte Farbe: Shot in the Dark
#20122A (rgb(32 18 42), hsl(275 40% 12%), oklch(0.214 0.049 309.7)) liegt am nächsten an der benannten Farbe Shot in the Dark. Mit Tints, Shades, Harmonien, WCAG- & APCA-Kontrast sowie CSS-, Tailwind-v4- und SCSS-Code.
#20122A
oklch(0.214 0.049 309.7)
Farbumrechnungen
- HEX
- #20122a
- RGB
- rgb(32 18 42)
- HSL
- hsl(275 40% 12%)
- HWB
- hwb(275 7% 84%)
- OKLCH
- oklch(0.214 0.049 309.7)
- OKLab
- oklab(0.214 0.031 -0.038)
- CIE Lab
- lab(8.09 11.85 -13.64)
- LCH
- lch(8.09 18.07 311)
- CMYK
- cmyk(24% 57% 0% 84%)
Tints · Shades · Tones
Tints
- 33263D
- 463A50
- 5B5064
- 706778
- 877E8E
- 9E97A3
- B5B0BA
- CDCAD0
- E6E4E7
Shades
- 1A0E23
- 150A1C
- 0F0716
- 0A0410
- 06020A
- 030105
- 010102
- 000001
- 000000
Tones
- 291C32
- 32263A
- 3B3043
- 443B4B
- 4E4654
- 57515C
- 615D65
- 6B686E
- 767477
Farbharmonien
Komplementär +180°
- 20122A
Shot in the Dark
- 121D04
≈ Yuzu Soy
Analog -30° +30°
- 20122A
Shot in the Dark
- 15162F
≈ Lost in Sadness
- 280F20
≈ Inside
Triadisch +120° +240°
- 20122A
Shot in the Dark
- 271500
≈ Cannon Black
- 001E1D
≈ Stellar Explorer
Geteilt komplementär +150° +210°
- 20122A
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 002011
≈ Clock Chimes Thirteen
Tetradisch +90° +180° +270°
- 20122A
Shot in the Dark
- 2C1007
≈ Root Brew
- 121D04
≈ Yuzu Soy
- 001D25
≈ Oxford by Night
Kontrast & Barrierefreiheit
Ag
AAAAuf Weiß
WCAG 17.77:1 · APCA Lc 104
Ag
FailAuf Schwarz
WCAG 1.18:1 · APCA Lc 0
Beste Textfarbe: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 104
Contrast pairs
Code-Snippets
CSS
:root {
--shot-in-the-dark: #20122a;
--shot-in-the-dark-rgb: 32 18 42;
--shot-in-the-dark-oklch: oklch(0.214 0.049 309.7);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(275 40% 12%);
border-color: oklch(0.214 0.049 309.7);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #20122a;
--color-shot-in-the-dark-50: #faf1ff;
--color-shot-in-the-dark-100: #ede4f4;
--color-shot-in-the-dark-200: #dbcfe4;
--color-shot-in-the-dark-300: #c0b1ca;
--color-shot-in-the-dark-400: #a797b5;
--color-shot-in-the-dark-500: #907d9f;
--color-shot-in-the-dark-600: #7a6a86;
--color-shot-in-the-dark-700: #62556c;
--color-shot-in-the-dark-800: #473e50;
--color-shot-in-the-dark-900: #312b38;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #20122a;
$shot-in-the-dark-rgb: 32, 18, 42;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}