Warna bernama terdekat · #281B27
#281B27
Warna bernama terdekat: Shot in the Dark
#281B27 (rgb(40 27 39), hsl(305 19% 13%), oklch(0.243 0.029 329)) paling mendekati warna bernama Shot in the Dark. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#281B27
oklch(0.243 0.029 329)
Konversi warna
- HEX
- #281b27
- RGB
- rgb(40 27 39)
- HSL
- hsl(305 19% 13%)
- HWB
- hwb(305 11% 84%)
- OKLCH
- oklch(0.243 0.029 329)
- OKLab
- oklab(0.243 0.025 -0.015)
- CIE Lab
- lab(11.83 8.57 -5.58)
- LCH
- lch(11.83 10.22 326.9)
- CMYK
- cmyk(0% 33% 2% 84%)
Tint · Shade · Tone
Tint
- 3A2E39
- 4E424D
- 625761
- 776D76
- 8C848B
- A29BA1
- B8B3B8
- D0CCCF
- E7E5E7
Shade
- 211620
- 1B111A
- 150C14
- 0F080E
- 090508
- 040204
- 020102
- 010001
- 000000
Tone
- 30242F
- 382D37
- 413740
- 4A4149
- 524B52
- 5B555B
- 645F64
- 6D6A6D
- 777576
Harmoni warna
Komplementer +180°
- 281B27
Shot in the Dark
- 162418
≈ Deep Slate Green
Analog -30° +30°
- 281B27
Shot in the Dark
- 221D2C
≈ Black Howl
- 2C1A20
≈ Black Cherry
Triadik +120° +240°
- 281B27
Shot in the Dark
- 261F0F
≈ Black Mesa
- 0D2428
≈ Crow Feather
Split-komplementer +150° +210°
- 281B27
Shot in the Dark
- 1E2212
≈ Black Mesa
- 0F2520
≈ Deep Slate Green
Tetradik +90° +180° +270°
- 281B27
Shot in the Dark
- 2B1D12
≈ Brunneophobia
- 162418
≈ Deep Slate Green
- 12222D
≈ Crow Feather
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 16.45:1 · APCA Lc 103
Ag
FailDi atas hitam
WCAG 1.27:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 16.45:1 (AAA) · APCA Lc 103
Contrast pairs
Cuplikan kode
CSS
:root {
--shot-in-the-dark: #281b27;
--shot-in-the-dark-rgb: 40 27 39;
--shot-in-the-dark-oklch: oklch(0.243 0.029 329);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(305 19% 13%);
border-color: oklch(0.243 0.029 329);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #281b27;
--color-shot-in-the-dark-50: #faf2f9;
--color-shot-in-the-dark-100: #eee4ec;
--color-shot-in-the-dark-200: #dcd0da;
--color-shot-in-the-dark-300: #c1b2be;
--color-shot-in-the-dark-400: #a999a7;
--color-shot-in-the-dark-500: #927f90;
--color-shot-in-the-dark-600: #7b6c7a;
--color-shot-in-the-dark-700: #635661;
--color-shot-in-the-dark-800: #483f48;
--color-shot-in-the-dark-900: #322b32;
--color-shot-in-the-dark-950: #1e191e;
}SCSS
$shot-in-the-dark: #281b27;
$shot-in-the-dark-rgb: 40, 27, 39;
$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);
}