最接近的命名颜色 · #1F1324
#1F1324
最接近的命名颜色: Shot in the Dark
#1F1324(rgb(31 19 36)、hsl(282 31% 11%)、oklch(0.211 0.037 315.6))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1F1324
oklch(0.211 0.037 315.6)
颜色转换
- HEX
- #1f1324
- RGB
- rgb(31 19 36)
- HSL
- hsl(282 31% 11%)
- HWB
- hwb(282 7% 86%)
- OKLCH
- oklch(0.211 0.037 315.6)
- OKLab
- oklab(0.211 0.026 -0.026)
- CIE Lab
- lab(7.94 9.4 -9.4)
- LCH
- lch(7.94 13.3 315)
- CMYK
- cmyk(14% 47% 0% 86%)
浅色调 · 深色调 · 灰色调
浅色调
- 322637
- 463B4A
- 5A505F
- 706774
- 867F8A
- 9D97A0
- B5B0B7
- CDCACE
- E6E4E6
深色调
- 190F1E
- 140B18
- 0F0712
- 0A050C
- 060307
- 030104
- 010102
- 000000
- 000000
灰色调
- 281D2C
- 312735
- 3A313E
- 433B47
- 4D4650
- 575159
- 615D63
- 6B686C
- 757476
配色和谐
互补色 +180°
- 1F1324
Shot in the Dark
- 111C0B
≈ Pinch of Pepper
类似色 -30° +30°
- 1F1324
Shot in the Dark
- 171629
≈ Sambucus
- 25111C
≈ Inside
三角配色 +120° +240°
- 1F1324
Shot in the Dark
- 221604
≈ Cannon Black
- 001D1E
≈ Stellar Explorer
分裂互补色 +150° +210°
- 1F1324
Shot in the Dark
- 1B1904
≈ Noir Mystique
- 051E14
≈ Clock Chimes Thirteen
四角配色 +90° +180° +270°
- 1F1324
Shot in the Dark
- 261309
≈ Severely Burnt Toast
- 111C0B
≈ Pinch of Pepper
- 021C25
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 17.84:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.84:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #1f1324;
--shot-in-the-dark-rgb: 31 19 36;
--shot-in-the-dark-oklch: oklch(0.211 0.037 315.6);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(282 31% 11%);
border-color: oklch(0.211 0.037 315.6);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1324;
--color-shot-in-the-dark-50: #faf2fc;
--color-shot-in-the-dark-100: #ede4f0;
--color-shot-in-the-dark-200: #dbd0df;
--color-shot-in-the-dark-300: #bfb2c4;
--color-shot-in-the-dark-400: #a798ae;
--color-shot-in-the-dark-500: #907f97;
--color-shot-in-the-dark-600: #7a6c80;
--color-shot-in-the-dark-700: #615666;
--color-shot-in-the-dark-800: #473f4c;
--color-shot-in-the-dark-900: #312b34;
--color-shot-in-the-dark-950: #1d1920;
}SCSS
$shot-in-the-dark: #1f1324;
$shot-in-the-dark-rgb: 31, 19, 36;
$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);
}