أقرب لون مسمّى · #1F1228
#1F1228
أقرب لون مسمّى: Shot in the Dark
#1F1228 (rgb(31 18 40)، hsl(275 38% 11%)، oklch(0.211 0.046 310.2)) أقرب إلى اللون المسمّى Shot in the Dark. شاهد الدرجات الفاتحة والداكنة والتناسقات وتباين WCAG وAPCA وأكواد CSS وTailwind v4 وSCSS.
#1F1228
oklch(0.211 0.046 310.2)
تحويلات الألوان
- HEX
- #1f1228
- RGB
- rgb(31 18 40)
- HSL
- hsl(275 38% 11%)
- HWB
- hwb(275 7% 84%)
- OKLCH
- oklch(0.211 0.046 310.2)
- OKLab
- oklab(0.211 0.029 -0.035)
- CIE Lab
- lab(7.83 10.98 -12.56)
- LCH
- lch(7.83 16.68 311.1)
- CMYK
- cmyk(22% 55% 0% 84%)
درجات فاتحة · درجات داكنة · درجات رمادية
درجات فاتحة
- 32263B
- 453A4E
- 5A5062
- 706777
- 867E8C
- 9D97A2
- B5B0B9
- CDCAD0
- E6E4E7
درجات داكنة
- 190E21
- 140A1B
- 0F0715
- 0A040F
- 060209
- 030104
- 010102
- 000001
- 000000
درجات رمادية
- 281C30
- 312639
- 3A3041
- 433B4A
- 4D4653
- 57515B
- 615C64
- 6B686E
- 757477
تناسق الألوان
متمم +180°
- 1F1228
Shot in the Dark
- 111D05
≈ Nightmare
متجاور -30° +30°
- 1F1228
Shot in the Dark
- 15162D
≈ Sambucus
- 260F1F
≈ Inside
ثلاثي +120° +240°
- 1F1228
Shot in the Dark
- 261400
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
متمم منقسم +150° +210°
- 1F1228
Shot in the Dark
- 1D1900
≈ Noir Mystique
- 011F11
≈ Clock Chimes Thirteen
رباعي +90° +180° +270°
- 1F1228
Shot in the Dark
- 2A1007
≈ Root Brew
- 111D05
≈ Nightmare
- 001C25
≈ Creeping Death
التباين وإمكانية الوصول
Ag
AAAعلى الأبيض
WCAG 17.86:1 · APCA Lc 105
Ag
Failعلى الأسود
WCAG 1.17:1 · APCA Lc 0
أفضل لون للنص: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 105
Contrast pairs
مقتطفات الأكواد
CSS
:root {
--shot-in-the-dark: #1f1228;
--shot-in-the-dark-rgb: 31 18 40;
--shot-in-the-dark-oklch: oklch(0.211 0.046 310.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(275 38% 11%);
border-color: oklch(0.211 0.046 310.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1228;
--color-shot-in-the-dark-50: #faf2ff;
--color-shot-in-the-dark-100: #ede4f3;
--color-shot-in-the-dark-200: #dbcfe3;
--color-shot-in-the-dark-300: #bfb1c9;
--color-shot-in-the-dark-400: #a797b3;
--color-shot-in-the-dark-500: #907e9d;
--color-shot-in-the-dark-600: #796b85;
--color-shot-in-the-dark-700: #61556a;
--color-shot-in-the-dark-800: #473e4f;
--color-shot-in-the-dark-900: #312b37;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #1f1228;
$shot-in-the-dark-rgb: 31, 18, 40;
$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);
}