أقرب لون مسمّى · #21162B
#21162B
أقرب لون مسمّى: Shot in the Dark
#21162B (rgb(33 22 43)، hsl(271 32% 13%)، oklch(0.225 0.042 307.4)) أقرب إلى اللون المسمّى Shot in the Dark. شاهد الدرجات الفاتحة والداكنة والتناسقات وتباين WCAG وAPCA وأكواد CSS وTailwind v4 وSCSS.
#21162B
oklch(0.225 0.042 307.4)
تحويلات الألوان
- 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%)
درجات فاتحة · درجات داكنة · درجات رمادية
درجات فاتحة
- 34293D
- 473E51
- 5C5364
- 716A79
- 87818E
- 9E99A4
- B5B1BA
- CDCBD0
- E6E5E8
درجات داكنة
- 1B1224
- 160D1D
- 100916
- 0B0610
- 06030A
- 030205
- 010102
- 000001
- 000000
درجات رمادية
- 2A2033
- 32293B
- 3B3343
- 453E4C
- 4E4854
- 58535D
- 615E65
- 6B696E
- 767477
تناسق الألوان
متمم +180°
- 21162B
Shot in the Dark
- 161F08
≈ Nightmare
متجاور -30° +30°
- 21162B
Shot in the Dark
- 17192F
≈ Dark Knight
- 281323
≈ Inside
ثلاثي +120° +240°
- 21162B
Shot in the Dark
- 291704
≈ Cannon Black
- 00211F
≈ Stellar Explorer
متمم منقسم +150° +210°
- 21162B
Shot in the Dark
- 211C02
≈ Cannon Black
- 072214
≈ Clock Chimes Thirteen
رباعي +90° +180° +270°
- 21162B
Shot in the Dark
- 2C140D
≈ Darkroom
- 161F08
≈ Nightmare
- 002028
≈ Stellar Explorer
التباين وإمكانية الوصول
Ag
AAAعلى الأبيض
WCAG 17.29:1 · APCA Lc 104
Ag
Failعلى الأسود
WCAG 1.21:1 · APCA Lc 0
أفضل لون للنص: #FFFFFF
WCAG 17.29:1 (AAA) · APCA Lc 104
Contrast pairs
مقتطفات الأكواد
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);
}