أقرب لون مسمّى · #1D1526
#1D1526
أقرب لون مسمّى: Shot in the Dark
#1D1526 (rgb(29 21 38)، hsl(268 29% 12%)، oklch(0.214 0.035 305.3)) أقرب إلى اللون المسمّى Shot in the Dark. شاهد الدرجات الفاتحة والداكنة والتناسقات وتباين WCAG وAPCA وأكواد CSS وTailwind v4 وSCSS.
#1D1526
oklch(0.214 0.035 305.3)
تحويلات الألوان
- HEX
- #1d1526
- RGB
- rgb(29 21 38)
- HSL
- hsl(268 29% 12%)
- HWB
- hwb(268 8% 85%)
- OKLCH
- oklch(0.214 0.035 305.3)
- OKLab
- oklab(0.214 0.02 -0.028)
- CIE Lab
- lab(8.38 7.53 -10.25)
- LCH
- lch(8.38 12.72 306.3)
- CMYK
- cmyk(24% 45% 0% 85%)
درجات فاتحة · درجات داكنة · درجات رمادية
درجات فاتحة
- 302839
- 433D4C
- 585260
- 6E6975
- 85808B
- 9C98A1
- B4B1B8
- CCCACF
- E5E4E7
درجات داكنة
- 181120
- 130C19
- 0E0813
- 09050D
- 050308
- 030204
- 010102
- 000001
- 000000
درجات رمادية
- 261E2E
- 2F2837
- 38323F
- 423D48
- 4C4751
- 56525A
- 605D64
- 6A696D
- 757476
تناسق الألوان
متمم +180°
- 1D1526
Shot in the Dark
- 151C0A
≈ Pinch of Pepper
متجاور -30° +30°
- 1D1526
Shot in the Dark
- 151829
≈ Sambucus
- 23131F
≈ Inside
ثلاثي +120° +240°
- 1D1526
Shot in the Dark
- 241607
≈ Cannon Black
- 031E1B
≈ Stellar Explorer
متمم منقسم +150° +210°
- 1D1526
Shot in the Dark
- 1E1905
≈ Noir Mystique
- 0B1E12
≈ Nightmare
رباعي +90° +180° +270°
- 1D1526
Shot in the Dark
- 27130E
≈ Used Oil
- 151C0A
≈ Pinch of Pepper
- 031D23
≈ Black Stallion
التباين وإمكانية الوصول
Ag
AAAعلى الأبيض
WCAG 17.68:1 · APCA Lc 104
Ag
Failعلى الأسود
WCAG 1.18:1 · APCA Lc 0
أفضل لون للنص: #FFFFFF
WCAG 17.68:1 (AAA) · APCA Lc 104
Contrast pairs
مقتطفات الأكواد
CSS
:root {
--shot-in-the-dark: #1d1526;
--shot-in-the-dark-rgb: 29 21 38;
--shot-in-the-dark-oklch: oklch(0.214 0.035 305.3);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(268 29% 12%);
border-color: oklch(0.214 0.035 305.3);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1526;
--color-shot-in-the-dark-50: #f8f3fd;
--color-shot-in-the-dark-100: #ebe5f1;
--color-shot-in-the-dark-200: #d8d1e0;
--color-shot-in-the-dark-300: #bcb3c6;
--color-shot-in-the-dark-400: #a39aaf;
--color-shot-in-the-dark-500: #8b8199;
--color-shot-in-the-dark-600: #766d81;
--color-shot-in-the-dark-700: #5e5768;
--color-shot-in-the-dark-800: #45404c;
--color-shot-in-the-dark-900: #2f2c35;
--color-shot-in-the-dark-950: #1c1920;
}SCSS
$shot-in-the-dark: #1d1526;
$shot-in-the-dark-rgb: 29, 21, 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);
}