Colore con nome più vicino · #1C1428
#1C1428
Colore con nome più vicino: Shot in the Dark
#1C1428 (rgb(28 20 40), hsl(264 33% 12%), oklch(0.212 0.04 301.5)) è più vicino al colore con nome Shot in the Dark. Scopri tinte, ombre, armonie, contrasto WCAG e APCA e codice CSS, Tailwind v4 e SCSS.
#1C1428
oklch(0.212 0.04 301.5)
Conversioni di colore
- HEX
- #1c1428
- RGB
- rgb(28 20 40)
- HSL
- hsl(264 33% 12%)
- HWB
- hwb(264 8% 84%)
- OKLCH
- oklch(0.212 0.04 301.5)
- OKLab
- oklab(0.212 0.021 -0.034)
- CIE Lab
- lab(8.03 8.29 -12.3)
- LCH
- lch(8.03 14.83 304)
- CMYK
- cmyk(30% 50% 0% 84%)
Tinte · Ombre · Toni
Tinte
- 2F273B
- 423C4E
- 575162
- 6D6877
- 847F8C
- 9B98A2
- B3B0B9
- CCCAD0
- E5E4E7
Ombre
- 171021
- 120C1B
- 0D0815
- 08050F
- 050309
- 020104
- 010102
- 000001
- 000000
Toni
- 251E30
- 2E2839
- 373241
- 413C4A
- 4B4753
- 55525B
- 605D64
- 6A696D
- 757477
Armonie di colore
Complementare +180°
- 1C1428
Shot in the Dark
- 161B05
≈ Pinch of Pepper
Analogo -30° +30°
- 1C1428
Shot in the Dark
- 12172B
≈ Sambucus
- 231121
≈ Inside
Triadico +120° +240°
- 1C1428
Shot in the Dark
- 261404
≈ Cannon Black
- 001E1A
≈ Stellar Explorer
Complementare divisa +150° +210°
- 1C1428
Shot in the Dark
- 1F1802
≈ Noir Mystique
- 091E0F
≈ Clock Chimes Thirteen
Tetradico +90° +180° +270°
- 1C1428
Shot in the Dark
- 28110D
≈ Root Brew
- 161B05
≈ Pinch of Pepper
- 001D22
≈ Stellar Explorer
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 17.79:1 · APCA Lc 105
Ag
FailSu nero
WCAG 1.18:1 · APCA Lc 0
Miglior colore del testo: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 105
Contrast pairs
Frammenti di codice
CSS
:root {
--shot-in-the-dark: #1c1428;
--shot-in-the-dark-rgb: 28 20 40;
--shot-in-the-dark-oklch: oklch(0.212 0.04 301.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(264 33% 12%);
border-color: oklch(0.212 0.04 301.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1c1428;
--color-shot-in-the-dark-50: #f7f3ff;
--color-shot-in-the-dark-100: #eae5f3;
--color-shot-in-the-dark-200: #d8d0e3;
--color-shot-in-the-dark-300: #bbb3c9;
--color-shot-in-the-dark-400: #a299b3;
--color-shot-in-the-dark-500: #8b809d;
--color-shot-in-the-dark-600: #756d85;
--color-shot-in-the-dark-700: #5e576a;
--color-shot-in-the-dark-800: #443f4e;
--color-shot-in-the-dark-900: #2f2c37;
--color-shot-in-the-dark-950: #1c1921;
}SCSS
$shot-in-the-dark: #1c1428;
$shot-in-the-dark-rgb: 28, 20, 40;
$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);
}