Couleur nommée la plus proche · #1E1328
#1E1328
Couleur nommée la plus proche: Shot in the Dark
#1E1328 (rgb(30 19 40), hsl(271 36% 12%), oklch(0.212 0.043 307.2)) 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.
#1E1328
oklch(0.212 0.043 307.2)
Conversions de couleur
- HEX
- #1e1328
- RGB
- rgb(30 19 40)
- HSL
- hsl(271 36% 12%)
- HWB
- hwb(271 7% 84%)
- OKLCH
- oklch(0.212 0.043 307.2)
- OKLab
- oklab(0.212 0.026 -0.034)
- CIE Lab
- lab(7.99 9.85 -12.33)
- LCH
- lch(7.99 15.79 308.6)
- CMYK
- cmyk(25% 53% 0% 84%)
Teintes · Ombres · Tons
Teintes
- 31263B
- 443B4E
- 595162
- 6F6777
- 857F8C
- 9C97A2
- B4B0B9
- CDCAD0
- E6E4E7
Ombres
- 190F21
- 130B1B
- 0E0715
- 09050F
- 050309
- 030104
- 010102
- 000001
- 000000
Tons
- 271D30
- 302739
- 393141
- 433C4A
- 4C4653
- 56515B
- 605D64
- 6B686D
- 757477
Harmonies de couleurs
Complémentaire +180°
- 1E1328
Shot in the Dark
- 131C05
≈ Pinch of Pepper
Analogue -30° +30°
- 1E1328
Shot in the Dark
- 14162C
≈ Sambucus
- 251020
≈ Inside
Triadique +120° +240°
- 1E1328
Shot in the Dark
- 261402
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
Complémentaire divisée +150° +210°
- 1E1328
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 041F11
≈ Clock Chimes Thirteen
Tétradique +90° +180° +270°
- 1E1328
Shot in the Dark
- 29110A
≈ Root Brew
- 131C05
≈ Pinch of Pepper
- 001D24
≈ Stellar Explorer
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.81:1 · APCA Lc 105
Ag
FailSur noir
WCAG 1.17:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 105
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #1e1328;
--shot-in-the-dark-rgb: 30 19 40;
--shot-in-the-dark-oklch: oklch(0.212 0.043 307.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(271 36% 12%);
border-color: oklch(0.212 0.043 307.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1e1328;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ece4f3;
--color-shot-in-the-dark-200: #dad0e2;
--color-shot-in-the-dark-300: #beb2c8;
--color-shot-in-the-dark-400: #a598b3;
--color-shot-in-the-dark-500: #8e7f9d;
--color-shot-in-the-dark-600: #786c85;
--color-shot-in-the-dark-700: #60566a;
--color-shot-in-the-dark-800: #463f4e;
--color-shot-in-the-dark-900: #302b37;
--color-shot-in-the-dark-950: #1d1921;
}SCSS
$shot-in-the-dark: #1e1328;
$shot-in-the-dark-rgb: 30, 19, 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);
}