Cor nomeada mais próxima · #211227
#211227
Cor nomeada mais próxima: Shot in the Dark
#211227 (rgb(33 18 39), hsl(283 37% 11%), oklch(0.213 0.045 315.8)) é 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.
#211227
oklch(0.213 0.045 315.8)
Conversões de cor
- HEX
- #211227
- RGB
- rgb(33 18 39)
- HSL
- hsl(283 37% 11%)
- HWB
- hwb(283 7% 85%)
- OKLCH
- oklch(0.213 0.045 315.8)
- OKLab
- oklab(0.213 0.032 -0.031)
- CIE Lab
- lab(8.08 11.62 -11.4)
- LCH
- lch(8.08 16.28 315.5)
- CMYK
- cmyk(15% 54% 0% 85%)
Tons claros · Sombras · Tons
Tons claros
- 34253A
- 473A4D
- 5C5061
- 716776
- 887E8C
- 9E97A2
- B6B0B8
- CECACF
- E6E4E7
Sombras
- 1B0E20
- 160A1A
- 100714
- 0B040E
- 060208
- 030104
- 010102
- 000001
- 000000
Tons
- 2A1C2F
- 332638
- 3C3040
- 453B49
- 4E4652
- 58515B
- 625C64
- 6C686D
- 767477
Harmonias de cor
Complementar +180°
- 211227
Shot in the Dark
- 0F1E07
≈ Nightmare
Análoga -30° +30°
- 211227
Shot in the Dark
- 17152D
≈ Lost in Sadness
- 27101D
≈ Inside
Tríade +120° +240°
- 211227
Shot in the Dark
- 251600
≈ Cannon Black
- 001E1E
≈ Stellar Explorer
Complementar dividida +150° +210°
- 211227
Shot in the Dark
- 1C1A00
≈ Noir Mystique
- 001F14
≈ Clock Chimes Thirteen
Tétrade +90° +180° +270°
- 211227
Shot in the Dark
- 2A1206
≈ Shadow Play
- 0F1E07
≈ Nightmare
- 001D27
≈ Oxford by Night
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.78:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.18:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--shot-in-the-dark: #211227;
--shot-in-the-dark-rgb: 33 18 39;
--shot-in-the-dark-oklch: oklch(0.213 0.045 315.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(283 37% 11%);
border-color: oklch(0.213 0.045 315.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #211227;
--color-shot-in-the-dark-50: #fbf1fe;
--color-shot-in-the-dark-100: #eee3f2;
--color-shot-in-the-dark-200: #ddcfe1;
--color-shot-in-the-dark-300: #c1b1c7;
--color-shot-in-the-dark-400: #a997b1;
--color-shot-in-the-dark-500: #927d9b;
--color-shot-in-the-dark-600: #7c6a83;
--color-shot-in-the-dark-700: #635569;
--color-shot-in-the-dark-800: #483e4e;
--color-shot-in-the-dark-900: #322b36;
--color-shot-in-the-dark-950: #1e1821;
}SCSS
$shot-in-the-dark: #211227;
$shot-in-the-dark-rgb: 33, 18, 39;
$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);
}