Couleur nommée la plus proche · #1D1226
#1D1226
Couleur nommée la plus proche: Shot in the Dark
#1D1226 (rgb(29 18 38), hsl(273 36% 11%), oklch(0.207 0.041 308.5)) 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.
#1D1226
oklch(0.207 0.041 308.5)
Conversions de couleur
- 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%)
Teintes · Ombres · Tons
Teintes
- 302539
- 443A4C
- 585060
- 6E6775
- 857E8B
- 9C97A1
- B4B0B8
- CCCACF
- E5E4E7
Ombres
- 180E20
- 130A19
- 0E0713
- 09040D
- 050208
- 030104
- 010102
- 000001
- 000000
Tons
- 261C2E
- 2F2637
- 383040
- 423B48
- 4C4651
- 56515A
- 605C64
- 6B686D
- 757476
Harmonies de couleurs
Complémentaire +180°
- 1D1226
Shot in the Dark
- 121B06
≈ Pinch of Pepper
Analogue -30° +30°
- 1D1226
Shot in the Dark
- 14152A
≈ Sambucus
- 24101E
≈ Inside
Triadique +120° +240°
- 1D1226
Shot in the Dark
- 241402
≈ Cannon Black
- 001D1B
≈ Stellar Explorer
Complémentaire divisée +150° +210°
- 1D1226
Shot in the Dark
- 1D1801
≈ Noir Mystique
- 041D10
≈ Clock Chimes Thirteen
Tétradique +90° +180° +270°
- 1D1226
Shot in the Dark
- 271009
≈ Root Brew
- 121B06
≈ Pinch of Pepper
- 001B23
≈ Creeping Death
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.99:1 · APCA Lc 105
Ag
FailSur noir
WCAG 1.16:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.99:1 (AAA) · APCA Lc 105
Contrast pairs
Extraits de code
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);
}