最接近的命名颜色 · #1C101F
#1C101F
最接近的命名颜色: Shot in the Dark
#1C101F(rgb(28 16 31)、hsl(288 32% 9%)、oklch(0.197 0.034 319.4))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1C101F
oklch(0.197 0.034 319.4)
颜色转换
- HEX
- #1c101f
- RGB
- rgb(28 16 31)
- HSL
- hsl(288 32% 9%)
- HWB
- hwb(288 6% 88%)
- OKLCH
- oklch(0.197 0.034 319.4)
- OKLab
- oklab(0.197 0.026 -0.022)
- CIE Lab
- lab(6.44 8.63 -7.93)
- LCH
- lch(6.44 11.72 317.4)
- CMYK
- cmyk(10% 48% 0% 88%)
浅色调 · 深色调 · 灰色调
浅色调
- 2F2332
- 433846
- 584E5A
- 6E6570
- 847D86
- 9C959D
- B4AFB5
- CCC9CD
- E5E4E6
深色调
- 170C19
- 120914
- 0D060F
- 08040A
- 050206
- 020103
- 010001
- 000000
- 000000
灰色调
- 251A28
- 2E2431
- 382E3A
- 413944
- 4B444D
- 565057
- 605B61
- 6A676B
- 757476
配色和谐
互补色 +180°
- 1C101F
Shot in the Dark
- 0D190A
≈ Pinch of Pepper
类似色 -30° +30°
- 1C101F
Shot in the Dark
- 151224
≈ Corbeau
- 210F18
≈ Shot in the Dark
三角配色 +120° +240°
- 1C101F
Shot in the Dark
- 1D1303
≈ Crowshead
- 001A1B
≈ Black Stallion
分裂互补色 +150° +210°
- 1C101F
Shot in the Dark
- 161604
≈ Pinch of Pepper
- 031A13
≈ Pinch of Pepper
四角配色 +90° +180° +270°
- 1C101F
Shot in the Dark
- 221007
≈ Severely Burnt Toast
- 0D190A
≈ Pinch of Pepper
- 031822
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 18.36:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.14:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 18.36:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #1c101f;
--shot-in-the-dark-rgb: 28 16 31;
--shot-in-the-dark-oklch: oklch(0.197 0.034 319.4);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(288 32% 9%);
border-color: oklch(0.197 0.034 319.4);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1c101f;
--color-shot-in-the-dark-50: #faf2fb;
--color-shot-in-the-dark-100: #ede4ef;
--color-shot-in-the-dark-200: #dbd0dd;
--color-shot-in-the-dark-300: #c0b2c2;
--color-shot-in-the-dark-400: #a898ab;
--color-shot-in-the-dark-500: #907f95;
--color-shot-in-the-dark-600: #7a6c7e;
--color-shot-in-the-dark-700: #625665;
--color-shot-in-the-dark-800: #473f4a;
--color-shot-in-the-dark-900: #312b34;
--color-shot-in-the-dark-950: #1d191f;
}SCSS
$shot-in-the-dark: #1c101f;
$shot-in-the-dark-rgb: 28, 16, 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);
}