Warna bernama terdekat · #231221
#231221
Warna bernama terdekat: Shot in the Dark
#231221 (rgb(35 18 33), hsl(307 32% 10%), oklch(0.213 0.038 331.1)) paling mendekati warna bernama Shot in the Dark. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#231221
oklch(0.213 0.038 331.1)
Konversi warna
- HEX
- #231221
- RGB
- rgb(35 18 33)
- HSL
- hsl(307 32% 10%)
- HWB
- hwb(307 7% 86%)
- OKLCH
- oklch(0.213 0.038 331.1)
- OKLab
- oklab(0.213 0.034 -0.019)
- CIE Lab
- lab(8.13 11.34 -6.78)
- LCH
- lch(8.13 13.21 329.1)
- CMYK
- cmyk(0% 49% 6% 86%)
Tint · Shade · Tone
Tint
- 362534
- 4A3A47
- 5E505C
- 736671
- 897E87
- A0979E
- B7B0B6
- CECACE
- E6E4E6
Shade
- 1D0E1B
- 170A16
- 110710
- 0C040B
- 070206
- 040103
- 010101
- 000000
- 000000
Tone
- 2C1C2A
- 342632
- 3D303B
- 473B45
- 50464E
- 595158
- 635C62
- 6C686C
- 767476
Harmoni warna
Komplementer +180°
- 231221
Shot in the Dark
- 0A1E10
≈ Clock Chimes Thirteen
Analog -30° +30°
- 231221
Shot in the Dark
- 1C1428
≈ Sambucus
- 271118
≈ Italian Roast
Triadik +120° +240°
- 231221
Shot in the Dark
- 1F1803
≈ Noir Mystique
- 001D23
≈ Stellar Explorer
Split-komplementer +150° +210°
- 231221
Shot in the Dark
- 161C06
≈ Pinch of Pepper
- 001F1A
≈ Stellar Explorer
Tetradik +90° +180° +270°
- 231221
Shot in the Dark
- 261405
≈ Cannon Black
- 0A1E10
≈ Clock Chimes Thirteen
- 061B29
≈ Oxford by Night
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.79:1 · APCA Lc 105
Ag
FailDi atas hitam
WCAG 1.17:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 105
Contrast pairs
Cuplikan kode
CSS
:root {
--shot-in-the-dark: #231221;
--shot-in-the-dark-rgb: 35 18 33;
--shot-in-the-dark-oklch: oklch(0.213 0.038 331.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(307 32% 10%);
border-color: oklch(0.213 0.038 331.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #231221;
--color-shot-in-the-dark-50: #fcf1fa;
--color-shot-in-the-dark-100: #f0e3ed;
--color-shot-in-the-dark-200: #dfcedb;
--color-shot-in-the-dark-300: #c4b0c0;
--color-shot-in-the-dark-400: #ac97a9;
--color-shot-in-the-dark-500: #967d92;
--color-shot-in-the-dark-600: #7f6a7b;
--color-shot-in-the-dark-700: #655563;
--color-shot-in-the-dark-800: #4a3e49;
--color-shot-in-the-dark-900: #332a33;
--color-shot-in-the-dark-950: #1f181e;
}SCSS
$shot-in-the-dark: #231221;
$shot-in-the-dark-rgb: 35, 18, 33;
$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);
}