En yakın adlandırılmış renk · #21162B
#21162B
En yakın adlandırılmış renk: Shot in the Dark
#21162B (rgb(33 22 43), hsl(271 32% 13%), oklch(0.225 0.042 307.4)) en çok Shot in the Dark adlı renge yakındır. Açık tonlar, koyu tonlar, uyumlar, WCAG ve APCA kontrastı ile CSS, Tailwind v4 ve SCSS kodunu görün.
#21162B
oklch(0.225 0.042 307.4)
Renk dönüşümleri
- HEX
- #21162b
- RGB
- rgb(33 22 43)
- HSL
- hsl(271 32% 13%)
- HWB
- hwb(271 9% 83%)
- OKLCH
- oklch(0.225 0.042 307.4)
- OKLab
- oklab(0.225 0.026 -0.034)
- CIE Lab
- lab(9.48 9.71 -12.2)
- LCH
- lch(9.48 15.59 308.5)
- CMYK
- cmyk(23% 49% 0% 83%)
Açık tonlar · Koyu tonlar · Gri tonlar
Açık tonlar
- 34293D
- 473E51
- 5C5364
- 716A79
- 87818E
- 9E99A4
- B5B1BA
- CDCBD0
- E6E5E8
Koyu tonlar
- 1B1224
- 160D1D
- 100916
- 0B0610
- 06030A
- 030205
- 010102
- 000001
- 000000
Gri tonlar
- 2A2033
- 32293B
- 3B3343
- 453E4C
- 4E4854
- 58535D
- 615E65
- 6B696E
- 767477
Renk uyumları
Tamamlayıcı +180°
- 21162B
Shot in the Dark
- 161F08
≈ Nightmare
Analog -30° +30°
- 21162B
Shot in the Dark
- 17192F
≈ Dark Knight
- 281323
≈ Inside
Üçlü +120° +240°
- 21162B
Shot in the Dark
- 291704
≈ Cannon Black
- 00211F
≈ Stellar Explorer
Bölünmüş tamamlayıcı +150° +210°
- 21162B
Shot in the Dark
- 211C02
≈ Cannon Black
- 072214
≈ Clock Chimes Thirteen
Dörtlü +90° +180° +270°
- 21162B
Shot in the Dark
- 2C140D
≈ Darkroom
- 161F08
≈ Nightmare
- 002028
≈ Stellar Explorer
Kontrast ve erişilebilirlik
Ag
AAABeyaz üzerinde
WCAG 17.29:1 · APCA Lc 104
Ag
FailSiyah üzerinde
WCAG 1.21:1 · APCA Lc 0
En iyi metin rengi: #FFFFFF
WCAG 17.29:1 (AAA) · APCA Lc 104
Contrast pairs
Kod parçacıkları
CSS
:root {
--shot-in-the-dark: #21162b;
--shot-in-the-dark-rgb: 33 22 43;
--shot-in-the-dark-oklch: oklch(0.225 0.042 307.4);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(271 32% 13%);
border-color: oklch(0.225 0.042 307.4);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #21162b;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ece4f3;
--color-shot-in-the-dark-200: #dad0e2;
--color-shot-in-the-dark-300: #beb2c8;
--color-shot-in-the-dark-400: #a598b2;
--color-shot-in-the-dark-500: #8e7f9c;
--color-shot-in-the-dark-600: #786c84;
--color-shot-in-the-dark-700: #60566a;
--color-shot-in-the-dark-800: #463f4e;
--color-shot-in-the-dark-900: #302b36;
--color-shot-in-the-dark-950: #1d1921;
}SCSS
$shot-in-the-dark: #21162b;
$shot-in-the-dark-rgb: 33, 22, 43;
$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);
}