Couleur nommée la plus proche · #1D1425
#1D1425
Couleur nommée la plus proche: Shot in the Dark
#1D1425 (rgb(29 20 37), hsl(272 30% 11%), oklch(0.211 0.035 307.9)) 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.
#1D1425
oklch(0.211 0.035 307.9)
Conversions de couleur
- HEX
- #1d1425
- RGB
- rgb(29 20 37)
- HSL
- hsl(272 30% 11%)
- HWB
- hwb(272 8% 85%)
- OKLCH
- oklch(0.211 0.035 307.9)
- OKLab
- oklab(0.211 0.022 -0.028)
- CIE Lab
- lab(8.01 8.02 -10.07)
- LCH
- lch(8.01 12.87 308.5)
- CMYK
- cmyk(22% 46% 0% 85%)
Teintes · Ombres · Tons
Teintes
- 302738
- 433C4B
- 58515F
- 6E6875
- 857F8A
- 9C97A1
- B4B0B7
- CCCACF
- E5E4E7
Ombres
- 18101F
- 130C19
- 0E0813
- 09050D
- 050308
- 030104
- 010102
- 000000
- 000000
Tons
- 261E2D
- 2F2736
- 38323F
- 423C48
- 4C4751
- 56525A
- 605D63
- 6B686D
- 757476
Harmonies de couleurs
Complémentaire +180°
- 1D1425
Shot in the Dark
- 141C09
≈ Pinch of Pepper
Analogue -30° +30°
- 1D1425
Shot in the Dark
- 151729
≈ Sambucus
- 23121E
≈ Inside
Triadique +120° +240°
- 1D1425
Shot in the Dark
- 231506
≈ Cannon Black
- 011E1B
≈ Stellar Explorer
Complémentaire divisée +150° +210°
- 1D1425
Shot in the Dark
- 1D1905
≈ Noir Mystique
- 091D12
≈ Pinch of Pepper
Tétradique +90° +180° +270°
- 1D1425
Shot in the Dark
- 26130C
≈ Severely Burnt Toast
- 141C09
≈ Pinch of Pepper
- 021C23
≈ Black Stallion
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: #1d1425;
--shot-in-the-dark-rgb: 29 20 37;
--shot-in-the-dark-oklch: oklch(0.211 0.035 307.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(272 30% 11%);
border-color: oklch(0.211 0.035 307.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1425;
--color-shot-in-the-dark-50: #f8f3fd;
--color-shot-in-the-dark-100: #ebe5f1;
--color-shot-in-the-dark-200: #d9d0e0;
--color-shot-in-the-dark-300: #bdb3c5;
--color-shot-in-the-dark-400: #a499af;
--color-shot-in-the-dark-500: #8d8099;
--color-shot-in-the-dark-600: #776d81;
--color-shot-in-the-dark-700: #5f5767;
--color-shot-in-the-dark-800: #453f4c;
--color-shot-in-the-dark-900: #302c35;
--color-shot-in-the-dark-950: #1c1920;
}SCSS
$shot-in-the-dark: #1d1425;
$shot-in-the-dark-rgb: 29, 20, 37;
$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);
}