Couleur nommée la plus proche · #181021
#181021
Couleur nommée la plus proche: Shot in the Dark
#181021 (rgb(24 16 33), hsl(268 35% 10%), oklch(0.192 0.035 305)) 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.
#181021
oklch(0.192 0.035 305)
Conversions de couleur
- HEX
- #181021
- RGB
- rgb(24 16 33)
- HSL
- hsl(268 35% 10%)
- HWB
- hwb(268 6% 87%)
- OKLCH
- oklch(0.192 0.035 305)
- OKLab
- oklab(0.192 0.02 -0.029)
- CIE Lab
- lab(6.02 6.96 -10.15)
- LCH
- lch(6.02 12.3 304.5)
- CMYK
- cmyk(27% 52% 0% 87%)
Teintes · Ombres · Tons
Teintes
- 2B2334
- 3F3848
- 544E5C
- 6A6572
- 817D88
- 99959F
- B2AFB6
- CBC9CE
- E5E4E6
Ombres
- 130C1B
- 0F0916
- 0A0610
- 07040B
- 040206
- 020103
- 010001
- 000000
- 000000
Tons
- 211A2A
- 2B2433
- 342E3C
- 3E3945
- 49444E
- 535058
- 5E5B62
- 69676C
- 757476
Harmonies de couleurs
Complémentaire +180°
- 181021
Shot in the Dark
- 111705
≈ Pinch of Pepper
Analogue -30° +30°
- 181021
Shot in the Dark
- 101324
≈ Corbeau
- 1E0E1B
≈ Shot in the Dark
Triadique +120° +240°
- 181021
Shot in the Dark
- 1F1103
≈ Super Black
- 001916
≈ Black Stallion
Complémentaire divisée +150° +210°
- 181021
Shot in the Dark
- 191402
≈ Crowshead
- 06190D
≈ Pinch of Pepper
Tétradique +90° +180° +270°
- 181021
Shot in the Dark
- 220E09
≈ Severely Burnt Toast
- 111705
≈ Pinch of Pepper
- 00181E
≈ Creeping Death
Contraste et accessibilité
Ag
AAASur blanc
WCAG 18.50:1 · APCA Lc 105
Ag
FailSur noir
WCAG 1.13:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 18.50:1 (AAA) · APCA Lc 105
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #181021;
--shot-in-the-dark-rgb: 24 16 33;
--shot-in-the-dark-oklch: oklch(0.192 0.035 305);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(268 35% 10%);
border-color: oklch(0.192 0.035 305);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #181021;
--color-shot-in-the-dark-50: #f8f3fd;
--color-shot-in-the-dark-100: #ebe5f1;
--color-shot-in-the-dark-200: #d8d1e0;
--color-shot-in-the-dark-300: #bcb3c6;
--color-shot-in-the-dark-400: #a39ab0;
--color-shot-in-the-dark-500: #8b8199;
--color-shot-in-the-dark-600: #766d82;
--color-shot-in-the-dark-700: #5e5768;
--color-shot-in-the-dark-800: #45404d;
--color-shot-in-the-dark-900: #2f2c35;
--color-shot-in-the-dark-950: #1c1920;
}SCSS
$shot-in-the-dark: #181021;
$shot-in-the-dark-rgb: 24, 16, 33;
$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);
}