最接近的命名颜色 · #1A111F
#1A111F
最接近的命名颜色: Shot in the Dark
#1A111F(rgb(26 17 31)、hsl(279 29% 9%)、oklch(0.196 0.03 313))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1A111F
oklch(0.196 0.03 313)
颜色转换
- HEX
- #1a111f
- RGB
- rgb(26 17 31)
- HSL
- hsl(279 29% 9%)
- HWB
- hwb(279 7% 88%)
- OKLCH
- oklch(0.196 0.03 313)
- OKLab
- oklab(0.196 0.021 -0.022)
- CIE Lab
- lab(6.46 6.99 -7.94)
- LCH
- lch(6.46 10.58 311.4)
- CMYK
- cmyk(16% 45% 0% 88%)
浅色调 · 深色调 · 灰色调
浅色调
- 2D2432
- 413946
- 564F5A
- 6C6570
- 837D86
- 9A969D
- B3AFB5
- CCC9CD
- E5E4E6
深色调
- 150D19
- 100914
- 0C060F
- 07040A
- 040206
- 020103
- 010001
- 000000
- 000000
灰色调
- 231B28
- 2C2531
- 362F3A
- 403A44
- 4A454D
- 545057
- 5F5C61
- 6A686B
- 757476
配色和谐
互补色 +180°
- 1A111F
Shot in the Dark
- 10180A
≈ Pinch of Pepper
类似色 -30° +30°
- 1A111F
Shot in the Dark
- 131323
≈ Corbeau
- 1F0F19
≈ Shot in the Dark
三角配色 +120° +240°
- 1A111F
Shot in the Dark
- 1E1305
≈ Crowshead
- 021919
≈ Black Stallion
分裂互补色 +150° +210°
- 1A111F
Shot in the Dark
- 181605
≈ Darkness
- 071911
≈ Pinch of Pepper
四角配色 +90° +180° +270°
- 1A111F
Shot in the Dark
- 21100A
≈ Bighorn Sheep
- 10180A
≈ Pinch of Pepper
- 04181F
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 18.35:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.14:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 18.35:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #1a111f;
--shot-in-the-dark-rgb: 26 17 31;
--shot-in-the-dark-oklch: oklch(0.196 0.03 313);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(279 29% 9%);
border-color: oklch(0.196 0.03 313);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1a111f;
--color-shot-in-the-dark-50: #f8f3fb;
--color-shot-in-the-dark-100: #ece5ef;
--color-shot-in-the-dark-200: #d9d1dd;
--color-shot-in-the-dark-300: #bdb3c2;
--color-shot-in-the-dark-400: #a599ac;
--color-shot-in-the-dark-500: #8d8195;
--color-shot-in-the-dark-600: #786d7e;
--color-shot-in-the-dark-700: #605765;
--color-shot-in-the-dark-800: #46404a;
--color-shot-in-the-dark-900: #302c34;
--color-shot-in-the-dark-950: #1d191f;
}SCSS
$shot-in-the-dark: #1a111f;
$shot-in-the-dark-rgb: 26, 17, 31;
$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);
}