Couleur nommée la plus proche · #201229
#201229
Couleur nommée la plus proche: Shot in the Dark
#201229 (rgb(32 18 41), hsl(277 39% 12%), oklch(0.213 0.048 311)) est la plus proche de la couleur nommée Shot in the Dark. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#201229
oklch(0.213 0.048 311)
Conversions de couleur
- HEX
- #201229
- RGB
- rgb(32 18 41)
- HSL
- hsl(277 39% 12%)
- HWB
- hwb(277 7% 84%)
- OKLCH
- oklch(0.213 0.048 311)
- OKLab
- oklab(0.213 0.031 -0.036)
- CIE Lab
- lab(8.03 11.63 -12.98)
- LCH
- lch(8.03 17.43 311.8)
- CMYK
- cmyk(22% 56% 0% 84%)
Teintes · Ombres · Tons
Teintes
- 33263C
- 463A4F
- 5B5063
- 716778
- 877E8D
- 9E97A3
- B5B0B9
- CDCAD0
- E6E4E7
Ombres
- 1A0E22
- 150A1C
- 0F0715
- 0A040F
- 060209
- 030105
- 010102
- 000001
- 000000
Tons
- 291C31
- 32263A
- 3B3042
- 443B4B
- 4E4653
- 57515C
- 615D65
- 6B686E
- 767477
Harmonies de couleurs
Complémentaire +180°
- 201229
Shot in the Dark
- 111D05
≈ Nightmare
Analogue -30° +30°
- 201229
Shot in the Dark
- 15162E
≈ Lost in Sadness
- 270F1F
≈ Inside
Triadique +120° +240°
- 201229
Shot in the Dark
- 261500
≈ Cannon Black
- 001E1D
≈ Stellar Explorer
Complémentaire divisée +150° +210°
- 201229
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 002012
≈ Clock Chimes Thirteen
Tétradique +90° +180° +270°
- 201229
Shot in the Dark
- 2B1007
≈ Root Brew
- 111D05
≈ Nightmare
- 001D26
≈ Oxford by Night
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.79:1 · APCA Lc 104
Ag
FailSur noir
WCAG 1.17:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #201229;
--shot-in-the-dark-rgb: 32 18 41;
--shot-in-the-dark-oklch: oklch(0.213 0.048 311);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(277 39% 12%);
border-color: oklch(0.213 0.048 311);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #201229;
--color-shot-in-the-dark-50: #faf1ff;
--color-shot-in-the-dark-100: #ede4f4;
--color-shot-in-the-dark-200: #dbcfe3;
--color-shot-in-the-dark-300: #c0b1c9;
--color-shot-in-the-dark-400: #a797b4;
--color-shot-in-the-dark-500: #907e9e;
--color-shot-in-the-dark-600: #7a6a85;
--color-shot-in-the-dark-700: #62556b;
--color-shot-in-the-dark-800: #473e4f;
--color-shot-in-the-dark-900: #312b37;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #201229;
$shot-in-the-dark-rgb: 32, 18, 41;
$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);
}