Couleur nommée la plus proche · #170F25
#170F25
Couleur nommée la plus proche: Shot in the Dark
#170F25 (rgb(23 15 37), hsl(262 42% 10%), oklch(0.192 0.044 299)) 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.
#170F25
oklch(0.192 0.044 299)
Conversions de couleur
- HEX
- #170f25
- RGB
- rgb(23 15 37)
- HSL
- hsl(262 42% 10%)
- HWB
- hwb(262 6% 85%)
- OKLCH
- oklch(0.192 0.044 299)
- OKLab
- oklab(0.192 0.021 -0.039)
- CIE Lab
- lab(5.83 8.08 -13.5)
- LCH
- lch(5.83 15.74 300.9)
- CMYK
- cmyk(38% 59% 0% 85%)
Teintes · Ombres · Tons
Teintes
- 2A2338
- 3E374C
- 534D60
- 696475
- 807C8B
- 9895A1
- B1AFB8
- CAC9CF
- E4E4E7
Ombres
- 120B1F
- 0E0819
- 0A0513
- 06030D
- 040208
- 020104
- 010002
- 000000
- 000000
Tons
- 20192E
- 292336
- 332E3F
- 3D3948
- 484451
- 53505A
- 5E5B63
- 69676D
- 747476
Harmonies de couleurs
Complémentaire +180°
- 170F25
Shot in the Dark
- 121700
≈ Pinch of Pepper
Analogue -30° +30°
- 170F25
Shot in the Dark
- 0C1328
≈ Corbeau
- 1F0C1E
≈ Meški Black
Triadique +120° +240°
- 170F25
Shot in the Dark
- 220E00
≈ Super Black
- 001914
≈ Pinch of Pepper
Complémentaire divisée +150° +210°
- 170F25
Shot in the Dark
- 1B1300
≈ Super Black
- 041908
≈ Oil Slick
Tétradique +90° +180° +270°
- 170F25
Shot in the Dark
- 250B08
≈ Root Brew
- 121700
≈ Pinch of Pepper
- 00181C
≈ Creeping Death
Contraste et accessibilité
Ag
AAASur blanc
WCAG 18.55:1 · APCA Lc 105
Ag
FailSur noir
WCAG 1.13:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 18.55:1 (AAA) · APCA Lc 105
Contrast pairs
Extraits de code
CSS
:root {
--shot-in-the-dark: #170f25;
--shot-in-the-dark-rgb: 23 15 37;
--shot-in-the-dark-oklch: oklch(0.192 0.044 299);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(262 42% 10%);
border-color: oklch(0.192 0.044 299);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #170f25;
--color-shot-in-the-dark-50: #f7f2ff;
--color-shot-in-the-dark-100: #eae5f5;
--color-shot-in-the-dark-200: #d7d0e5;
--color-shot-in-the-dark-300: #bbb3cb;
--color-shot-in-the-dark-400: #a299b6;
--color-shot-in-the-dark-500: #8a80a0;
--color-shot-in-the-dark-600: #756c87;
--color-shot-in-the-dark-700: #5d576c;
--color-shot-in-the-dark-800: #443f50;
--color-shot-in-the-dark-900: #2f2c38;
--color-shot-in-the-dark-950: #1b1922;
}SCSS
$shot-in-the-dark: #170f25;
$shot-in-the-dark-rgb: 23, 15, 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);
}