Couleur nommée la plus proche · #1C132A
#1C132A
Couleur nommée la plus proche: Shot in the Dark
#1C132A (rgb(28 19 42), hsl(263 38% 12%), oklch(0.211 0.046 300.6)) 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.
#1C132A
oklch(0.211 0.046 300.6)
Conversions de couleur
- HEX
- #1c132a
- RGB
- rgb(28 19 42)
- HSL
- hsl(263 38% 12%)
- HWB
- hwb(263 7% 84%)
- OKLCH
- oklch(0.211 0.046 300.6)
- OKLab
- oklab(0.211 0.023 -0.039)
- CIE Lab
- lab(7.82 9.49 -14.11)
- LCH
- lch(7.82 17.01 303.9)
- CMYK
- cmyk(33% 55% 0% 84%)
Teintes · Ombres · Tons
Teintes
- 2F263D
- 423B50
- 575164
- 6D6779
- 847F8E
- 9B97A3
- B3B0BA
- CCCAD0
- E5E4E7
Ombres
- 170F23
- 120B1C
- 0D0716
- 080510
- 05030A
- 020105
- 010102
- 000001
- 000000
Tons
- 251D32
- 2E273A
- 373143
- 413C4B
- 4B4654
- 55525C
- 605D65
- 6A686E
- 757477
Harmonies de couleurs
Complémentaire +180°
- 1C132A
Shot in the Dark
- 161B02
≈ Pinch of Pepper
Analogue -30° +30°
- 1C132A
Shot in the Dark
- 11172D
≈ Sambucus
- 241022
≈ Inside
Triadique +120° +240°
- 1C132A
Shot in the Dark
- 271302
≈ Cannon Black
- 001E19
≈ Stellar Explorer
Complémentaire divisée +150° +210°
- 1C132A
Shot in the Dark
- 201700
≈ Noir Mystique
- 061E0D
≈ Clock Chimes Thirteen
Tétradique +90° +180° +270°
- 1C132A
Shot in the Dark
- 2A0F0B
≈ Root Brew
- 161B02
≈ Pinch of Pepper
- 001D22
≈ Stellar Explorer
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.85:1 · APCA Lc 105
Ag
FailSur noir
WCAG 1.17:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.85:1 (AAA) · APCA Lc 105
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #1c132a;
--shot-in-the-dark-rgb: 28 19 42;
--shot-in-the-dark-oklch: oklch(0.211 0.046 300.6);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(263 38% 12%);
border-color: oklch(0.211 0.046 300.6);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1c132a;
--color-shot-in-the-dark-50: #f7f2ff;
--color-shot-in-the-dark-100: #ebe5f5;
--color-shot-in-the-dark-200: #d8d0e5;
--color-shot-in-the-dark-300: #bcb2cb;
--color-shot-in-the-dark-400: #a299b6;
--color-shot-in-the-dark-500: #8b80a0;
--color-shot-in-the-dark-600: #756c87;
--color-shot-in-the-dark-700: #5e566d;
--color-shot-in-the-dark-800: #443f50;
--color-shot-in-the-dark-900: #2f2b38;
--color-shot-in-the-dark-950: #1c1922;
}SCSS
$shot-in-the-dark: #1c132a;
$shot-in-the-dark-rgb: 28, 19, 42;
$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);
}