最接近的命名颜色 · #22131E
#22131E
最接近的命名颜色: Shot in the Dark
#22131E(rgb(34 19 30)、hsl(316 28% 10%)、oklch(0.212 0.031 336.9))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#22131E
oklch(0.212 0.031 336.9)
颜色转换
- HEX
- #22131e
- RGB
- rgb(34 19 30)
- HSL
- hsl(316 28% 10%)
- HWB
- hwb(316 7% 87%)
- OKLCH
- oklch(0.212 0.031 336.9)
- OKLab
- oklab(0.212 0.029 -0.012)
- CIE Lab
- lab(8.14 9.65 -4.51)
- LCH
- lch(8.14 10.65 334.9)
- CMYK
- cmyk(0% 44% 12% 87%)
浅色调 · 深色调 · 灰色调
浅色调
- 352631
- 493B44
- 5D5059
- 73676F
- 897F85
- 9F979D
- B6B0B4
- CECACD
- E6E4E6
深色调
- 1C0F19
- 160B13
- 11070E
- 0B0509
- 070305
- 030103
- 010101
- 000000
- 000000
灰色调
- 2B1D27
- 342730
- 3D3139
- 463B43
- 4F464C
- 595156
- 625D60
- 6C686B
- 767475
配色和谐
互补色 +180°
- 22131E
Shot in the Dark
- 0B1D13
≈ Pinch of Pepper
类似色 -30° +30°
- 22131E
Shot in the Dark
- 1C1524
≈ Violet Void
- 251216
≈ Italian Roast
三角配色 +120° +240°
- 22131E
Shot in the Dark
- 1D1907
≈ Noir Mystique
- 051C22
≈ Black Stallion
分裂互补色 +150° +210°
- 22131E
Shot in the Dark
- 151B0B
≈ Pinch of Pepper
- 051D1B
≈ Black Stallion
四角配色 +90° +180° +270°
- 22131E
Shot in the Dark
- 221608
≈ Noir Mystique
- 0B1D13
≈ Pinch of Pepper
- 0C1A26
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 17.79:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #22131e;
--shot-in-the-dark-rgb: 34 19 30;
--shot-in-the-dark-oklch: oklch(0.212 0.031 336.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(316 28% 10%);
border-color: oklch(0.212 0.031 336.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #22131e;
--color-shot-in-the-dark-50: #fcf2f8;
--color-shot-in-the-dark-100: #efe4eb;
--color-shot-in-the-dark-200: #decfd9;
--color-shot-in-the-dark-300: #c3b1bd;
--color-shot-in-the-dark-400: #ab98a5;
--color-shot-in-the-dark-500: #947f8e;
--color-shot-in-the-dark-600: #7e6b78;
--color-shot-in-the-dark-700: #645660;
--color-shot-in-the-dark-800: #4a3e47;
--color-shot-in-the-dark-900: #332b31;
--color-shot-in-the-dark-950: #1f181d;
}SCSS
$shot-in-the-dark: #22131e;
$shot-in-the-dark-rgb: 34, 19, 30;
$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);
}