Warna bernama terdekat · #281626
#281626
Warna bernama terdekat: Shot in the Dark
#281626 (rgb(40 22 38), hsl(307 29% 12%), oklch(0.232 0.04 330.8)) paling mendekati warna bernama Shot in the Dark. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#281626
oklch(0.232 0.04 330.8)
Konversi warna
- HEX
- #281626
- RGB
- rgb(40 22 38)
- HSL
- hsl(307 29% 12%)
- HWB
- hwb(307 9% 84%)
- OKLCH
- oklch(0.232 0.04 330.8)
- OKLab
- oklab(0.232 0.035 -0.02)
- CIE Lab
- lab(10.29 11.8 -7.15)
- LCH
- lch(10.29 13.79 328.8)
- CMYK
- cmyk(0% 45% 5% 84%)
Tint · Shade · Tone
Tint
- 3B2938
- 4E3E4C
- 625360
- 776A75
- 8C818B
- A299A1
- B9B1B8
- D0CBCF
- E7E5E7
Shade
- 211220
- 1B0D19
- 150913
- 0F060D
- 090308
- 040204
- 020102
- 010001
- 000000
Tone
- 30202E
- 392937
- 41333F
- 4A3E48
- 534851
- 5B535A
- 645E63
- 6E696D
- 777476
Harmoni warna
Komplementer +180°
- 281626
Shot in the Dark
- 0E2313
≈ Nightmare
Analog -30° +30°
- 281626
Shot in the Dark
- 20192D
≈ Sambucus
- 2D151C
≈ Black Cherry
Triadik +120° +240°
- 281626
Shot in the Dark
- 241C05
≈ Cannon Black
- 002228
≈ Teal Spill
Split-komplementer +150° +210°
- 281626
Shot in the Dark
- 1B2009
≈ Midnight Pines
- 02231E
≈ Stellar Explorer
Tetradik +90° +180° +270°
- 281626
Shot in the Dark
- 2B1808
≈ Zinnwaldite Brown
- 0E2313
≈ Nightmare
- 091F2E
≈ The Count’s Black
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.03:1 · APCA Lc 104
Ag
FailDi atas hitam
WCAG 1.23:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.03:1 (AAA) · APCA Lc 104
Contrast pairs
Cuplikan kode
CSS
:root {
--shot-in-the-dark: #281626;
--shot-in-the-dark-rgb: 40 22 38;
--shot-in-the-dark-oklch: oklch(0.232 0.04 330.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(307 29% 12%);
border-color: oklch(0.232 0.04 330.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #281626;
--color-shot-in-the-dark-50: #fdf1fa;
--color-shot-in-the-dark-100: #f1e3ee;
--color-shot-in-the-dark-200: #dfcedc;
--color-shot-in-the-dark-300: #c5b0c0;
--color-shot-in-the-dark-400: #ad96aa;
--color-shot-in-the-dark-500: #967d93;
--color-shot-in-the-dark-600: #7f6a7c;
--color-shot-in-the-dark-700: #665463;
--color-shot-in-the-dark-800: #4a3e49;
--color-shot-in-the-dark-900: #342a33;
--color-shot-in-the-dark-950: #1f181f;
}SCSS
$shot-in-the-dark: #281626;
$shot-in-the-dark-rgb: 40, 22, 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);
}