Color con nombre más cercano · #20122A
#20122A
Color con nombre más cercano: Shot in the Dark
#20122A (rgb(32 18 42), hsl(275 40% 12%), oklch(0.214 0.049 309.7)) se parece más al color con nombre Shot in the Dark. Mira tintes, sombras, armonías, contraste WCAG y APCA, y código CSS, Tailwind v4 y SCSS.
#20122A
oklch(0.214 0.049 309.7)
Conversiones de color
- 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%)
Tintes · Sombras · Tonos
Tintes
- 33263D
- 463A50
- 5B5064
- 706778
- 877E8E
- 9E97A3
- B5B0BA
- CDCAD0
- E6E4E7
Sombras
- 1A0E23
- 150A1C
- 0F0716
- 0A0410
- 06020A
- 030105
- 010102
- 000001
- 000000
Tonos
- 291C32
- 32263A
- 3B3043
- 443B4B
- 4E4654
- 57515C
- 615D65
- 6B686E
- 767477
Armonías de color
Complementario +180°
- 20122A
Shot in the Dark
- 121D04
≈ Yuzu Soy
Análogo -30° +30°
- 20122A
Shot in the Dark
- 15162F
≈ Lost in Sadness
- 280F20
≈ Inside
Triádico +120° +240°
- 20122A
Shot in the Dark
- 271500
≈ Cannon Black
- 001E1D
≈ Stellar Explorer
Complementario dividido +150° +210°
- 20122A
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 002011
≈ Clock Chimes Thirteen
Tetrádico +90° +180° +270°
- 20122A
Shot in the Dark
- 2C1007
≈ Root Brew
- 121D04
≈ Yuzu Soy
- 001D25
≈ Oxford by Night
Contraste y accesibilidad
Ag
AAASobre blanco
WCAG 17.77:1 · APCA Lc 104
Ag
FailSobre negro
WCAG 1.18:1 · APCA Lc 0
Mejor color de texto: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 104
Contrast pairs
Fragmentos de código
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);
}