Couleur nommée la plus proche · #1E0D1F
#1E0D1F
Couleur nommée la plus proche: Shot in the Dark
#1E0D1F (rgb(30 13 31), hsl(297 41% 9%), oklch(0.193 0.043 325.1)) 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.
#1E0D1F
oklch(0.193 0.043 325.1)
Conversions de couleur
- HEX
- #1e0d1f
- RGB
- rgb(30 13 31)
- HSL
- hsl(297 41% 9%)
- HWB
- hwb(297 5% 88%)
- OKLCH
- oklch(0.193 0.043 325.1)
- OKLab
- oklab(0.193 0.035 -0.025)
- CIE Lab
- lab(5.97 11.26 -8.61)
- LCH
- lch(5.97 14.17 322.6)
- CMYK
- cmyk(3% 58% 0% 88%)
Teintes · Ombres · Tons
Teintes
- 312132
- 453646
- 5A4C5A
- 706370
- 867B86
- 9D949D
- B5AEB5
- CDC8CD
- E6E3E6
Ombres
- 190A19
- 130714
- 0E050F
- 09030A
- 050206
- 030103
- 010001
- 000000
- 000000
Tons
- 271728
- 302231
- 3A2C3A
- 433844
- 4D434D
- 574F57
- 615B61
- 6B676B
- 757376
Harmonies de couleurs
Complémentaire +180°
- 1E0D1F
Shot in the Dark
- 071908
≈ Pinch of Pepper
Analogue -30° +30°
- 1E0D1F
Shot in the Dark
- 161026
≈ Corbeau
- 230B15
≈ Shot in the Dark
Triadique +120° +240°
- 1E0D1F
Shot in the Dark
- 1D1300
≈ Super Black
- 00191B
≈ Black Stallion
Complémentaire divisée +150° +210°
- 1E0D1F
Shot in the Dark
- 141700
≈ Pinch of Pepper
- 001A14
≈ Pinch of Pepper
Tétradique +90° +180° +270°
- 1E0D1F
Shot in the Dark
- 230E02
≈ Severely Burnt Toast
- 071908
≈ Pinch of Pepper
- 001724
≈ Creeping Death
Contraste et accessibilité
Ag
AAASur blanc
WCAG 18.54:1 · APCA Lc 105
Ag
FailSur noir
WCAG 1.13:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 18.54:1 (AAA) · APCA Lc 105
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #1e0d1f;
--shot-in-the-dark-rgb: 30 13 31;
--shot-in-the-dark-oklch: oklch(0.193 0.043 325.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(297 41% 9%);
border-color: oklch(0.193 0.043 325.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1e0d1f;
--color-shot-in-the-dark-50: #fcf1fc;
--color-shot-in-the-dark-100: #f0e3ef;
--color-shot-in-the-dark-200: #dfcede;
--color-shot-in-the-dark-300: #c4b0c3;
--color-shot-in-the-dark-400: #ac96ad;
--color-shot-in-the-dark-500: #957d96;
--color-shot-in-the-dark-600: #7e6a7f;
--color-shot-in-the-dark-700: #655466;
--color-shot-in-the-dark-800: #4a3e4b;
--color-shot-in-the-dark-900: #332a34;
--color-shot-in-the-dark-950: #1f1820;
}SCSS
$shot-in-the-dark: #1e0d1f;
$shot-in-the-dark-rgb: 30, 13, 31;
$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);
}