Cor nomeada mais próxima · #211128
#211128
Cor nomeada mais próxima: Shot in the Dark
#211128 (rgb(33 17 40), hsl(282 40% 11%), oklch(0.212 0.049 314.9)) é 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.
#211128
oklch(0.212 0.049 314.9)
Conversões de cor
- HEX
- #211128
- RGB
- rgb(33 17 40)
- HSL
- hsl(282 40% 11%)
- HWB
- hwb(282 7% 84%)
- OKLCH
- oklch(0.212 0.049 314.9)
- OKLab
- oklab(0.212 0.034 -0.035)
- CIE Lab
- lab(7.85 12.51 -12.51)
- LCH
- lch(7.85 17.69 315)
- CMYK
- cmyk(18% 58% 0% 84%)
Tons claros · Sombras · Tons
Tons claros
- 34253B
- 47394E
- 5C4F62
- 716677
- 887E8C
- 9E96A2
- B6B0B9
- CEC9D0
- E6E4E7
Sombras
- 1B0D21
- 16091B
- 100615
- 0B040F
- 060209
- 030104
- 010002
- 000001
- 000000
Tons
- 2A1B30
- 332539
- 3C3041
- 453A4A
- 4E4553
- 58515B
- 625C64
- 6C686E
- 767477
Harmonias de cor
Complementar +180°
- 211128
Shot in the Dark
- 0E1D05
≈ Yuzu Soy
Análoga -30° +30°
- 211128
Shot in the Dark
- 17152E
≈ Lost in Sadness
- 280E1E
≈ Inside
Tríade +120° +240°
- 211128
Shot in the Dark
- 251500
≈ Cannon Black
- 001E1E
≈ Stellar Explorer
Complementar dividida +150° +210°
- 211128
Shot in the Dark
- 1C1A00
≈ Noir Mystique
- 001F13
≈ Clock Chimes Thirteen
Tétrade +90° +180° +270°
- 211128
Shot in the Dark
- 2B1004
≈ Root Brew
- 0E1D05
≈ Yuzu Soy
- 001C26
≈ Oxford by Night
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.86:1 · APCA Lc 105
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 105
Contrast pairs
Trechos de código
CSS
:root {
--shot-in-the-dark: #211128;
--shot-in-the-dark-rgb: 33 17 40;
--shot-in-the-dark-oklch: oklch(0.212 0.049 314.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(282 40% 11%);
border-color: oklch(0.212 0.049 314.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #211128;
--color-shot-in-the-dark-50: #fbf1ff;
--color-shot-in-the-dark-100: #efe3f3;
--color-shot-in-the-dark-200: #ddcee2;
--color-shot-in-the-dark-300: #c2b0c8;
--color-shot-in-the-dark-400: #aa96b3;
--color-shot-in-the-dark-500: #937d9d;
--color-shot-in-the-dark-600: #7c6a85;
--color-shot-in-the-dark-700: #63546a;
--color-shot-in-the-dark-800: #483e4f;
--color-shot-in-the-dark-900: #322a37;
--color-shot-in-the-dark-950: #1e1822;
}SCSS
$shot-in-the-dark: #211128;
$shot-in-the-dark-rgb: 33, 17, 40;
$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);
}