Cor nomeada mais próxima · #1D1226
#1D1226
Cor nomeada mais próxima: Shot in the Dark
#1D1226 (rgb(29 18 38), hsl(273 36% 11%), oklch(0.207 0.041 308.5)) é mais próxima da cor nomeada Shot in the Dark. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#1D1226
oklch(0.207 0.041 308.5)
Conversões de cor
- HEX
- #1d1226
- RGB
- rgb(29 18 38)
- HSL
- hsl(273 36% 11%)
- HWB
- hwb(273 7% 85%)
- OKLCH
- oklch(0.207 0.041 308.5)
- OKLab
- oklab(0.207 0.026 -0.032)
- CIE Lab
- lab(7.45 9.62 -11.69)
- LCH
- lch(7.45 15.14 309.4)
- CMYK
- cmyk(24% 53% 0% 85%)
Tons claros · Sombras · Tons
Tons claros
- 302539
- 443A4C
- 585060
- 6E6775
- 857E8B
- 9C97A1
- B4B0B8
- CCCACF
- E5E4E7
Sombras
- 180E20
- 130A19
- 0E0713
- 09040D
- 050208
- 030104
- 010102
- 000001
- 000000
Tons
- 261C2E
- 2F2637
- 383040
- 423B48
- 4C4651
- 56515A
- 605C64
- 6B686D
- 757476
Harmonias de cor
Complementar +180°
- 1D1226
Shot in the Dark
- 121B06
≈ Pinch of Pepper
Análoga -30° +30°
- 1D1226
Shot in the Dark
- 14152A
≈ Sambucus
- 24101E
≈ Inside
Tríade +120° +240°
- 1D1226
Shot in the Dark
- 241402
≈ Cannon Black
- 001D1B
≈ Stellar Explorer
Complementar dividida +150° +210°
- 1D1226
Shot in the Dark
- 1D1801
≈ Noir Mystique
- 041D10
≈ Clock Chimes Thirteen
Tétrade +90° +180° +270°
- 1D1226
Shot in the Dark
- 271009
≈ Root Brew
- 121B06
≈ Pinch of Pepper
- 001B23
≈ Creeping Death
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.99:1 · APCA Lc 105
Ag
FailSobre preto
WCAG 1.16:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.99:1 (AAA) · APCA Lc 105
Contrast pairs
Trechos de código
CSS
:root {
--shot-in-the-dark: #1d1226;
--shot-in-the-dark-rgb: 29 18 38;
--shot-in-the-dark-oklch: oklch(0.207 0.041 308.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(273 36% 11%);
border-color: oklch(0.207 0.041 308.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1226;
--color-shot-in-the-dark-50: #f9f2fe;
--color-shot-in-the-dark-100: #ece4f2;
--color-shot-in-the-dark-200: #dad0e2;
--color-shot-in-the-dark-300: #beb2c8;
--color-shot-in-the-dark-400: #a598b2;
--color-shot-in-the-dark-500: #8e7f9c;
--color-shot-in-the-dark-600: #786c84;
--color-shot-in-the-dark-700: #605669;
--color-shot-in-the-dark-800: #463f4e;
--color-shot-in-the-dark-900: #302b36;
--color-shot-in-the-dark-950: #1d1921;
}SCSS
$shot-in-the-dark: #1d1226;
$shot-in-the-dark-rgb: 29, 18, 38;
$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);
}