Warna bernama terdekat · #1C1426
#1C1426
Warna bernama terdekat: Shot in the Dark
#1C1426 (rgb(28 20 38), hsl(267 31% 11%), oklch(0.211 0.036 303.9)) paling mendekati warna bernama Shot in the Dark. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#1C1426
oklch(0.211 0.036 303.9)
Konversi warna
- HEX
- #1c1426
- RGB
- rgb(28 20 38)
- HSL
- hsl(267 31% 11%)
- HWB
- hwb(267 8% 85%)
- OKLCH
- oklch(0.211 0.036 303.9)
- OKLab
- oklab(0.211 0.02 -0.03)
- CIE Lab
- lab(7.93 7.81 -10.96)
- LCH
- lch(7.93 13.46 305.5)
- CMYK
- cmyk(26% 47% 0% 85%)
Tint · Shade · Tone
Tint
- 2F2739
- 423C4C
- 575160
- 6D6875
- 847F8B
- 9B97A1
- B3B0B8
- CCCACF
- E5E4E7
Shade
- 171020
- 120C19
- 0D0813
- 08050D
- 050308
- 020104
- 010102
- 000001
- 000000
Tone
- 251E2E
- 2E2737
- 373240
- 413C48
- 4B4751
- 55525A
- 605D64
- 6A686D
- 757476
Harmoni warna
Komplementer +180°
- 1C1426
Shot in the Dark
- 151B07
≈ Pinch of Pepper
Analog -30° +30°
- 1C1426
Shot in the Dark
- 131729
≈ Sambucus
- 22121F
≈ Inside
Triadik +120° +240°
- 1C1426
Shot in the Dark
- 241406
≈ Cannon Black
- 011E1A
≈ Stellar Explorer
Split-komplementer +150° +210°
- 1C1426
Shot in the Dark
- 1E1804
≈ Noir Mystique
- 091D11
≈ Pinch of Pepper
Tetradik +90° +180° +270°
- 1C1426
Shot in the Dark
- 27120D
≈ Root Brew
- 151B07
≈ Pinch of Pepper
- 001D23
≈ Stellar Explorer
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.83:1 · APCA Lc 105
Ag
FailDi atas hitam
WCAG 1.17:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 105
Contrast pairs
Cuplikan kode
CSS
:root {
--shot-in-the-dark: #1c1426;
--shot-in-the-dark-rgb: 28 20 38;
--shot-in-the-dark-oklch: oklch(0.211 0.036 303.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(267 31% 11%);
border-color: oklch(0.211 0.036 303.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1c1426;
--color-shot-in-the-dark-50: #f8f3fe;
--color-shot-in-the-dark-100: #ebe5f2;
--color-shot-in-the-dark-200: #d8d1e1;
--color-shot-in-the-dark-300: #bcb3c7;
--color-shot-in-the-dark-400: #a39ab0;
--color-shot-in-the-dark-500: #8b819a;
--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: #2f2c36;
--color-shot-in-the-dark-950: #1c1921;
}SCSS
$shot-in-the-dark: #1c1426;
$shot-in-the-dark-rgb: 28, 20, 38;
$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);
}