最接近的命名颜色 · #16081B
#16081B
最接近的命名颜色: Shot in the Dark
#16081B(rgb(22 8 27)、hsl(284 54% 7%)、oklch(0.167 0.043 316.7))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#16081B
oklch(0.167 0.043 316.7)
颜色转换
- HEX
- #16081b
- RGB
- rgb(22 8 27)
- HSL
- hsl(284 54% 7%)
- HWB
- hwb(284 3% 89%)
- OKLCH
- oklch(0.167 0.043 316.7)
- OKLab
- oklab(0.167 0.031 -0.03)
- CIE Lab
- lab(3.79 7.92 -8.84)
- LCH
- lch(3.79 11.87 311.8)
- CMYK
- cmyk(19% 70% 0% 89%)
浅色调 · 深色调 · 灰色调
浅色调
- 291C2E
- 3E3142
- 534757
- 695F6D
- 817884
- 99919B
- B1ACB4
- CBC7CC
- E5E3E5
深色调
- 120616
- 0D0411
- 09030C
- 060208
- 030105
- 020102
- 010001
- 000000
- 000000
灰色调
- 1F1224
- 291D2E
- 332837
- 3D3441
- 48404B
- 534C55
- 5E5960
- 69656A
- 747375
配色和谐
互补色 +180°
- 16081B
Shot in the Dark
- 061302
≈ Memorial Black
类似色 -30° +30°
- 16081B
Shot in the Dark
- 0E0B20
≈ Tristesse
- 1B0612
≈ Crow
三角配色 +120° +240°
- 16081B
Shot in the Dark
- 170C00
≈ Balsamico
- 001213
≈ Black Glaze
分裂互补色 +150° +210°
- 16081B
Shot in the Dark
- 111000
≈ Chinese Black
- 00130B
≈ Jedi Night
四角配色 +90° +180° +270°
- 16081B
Shot in the Dark
- 1D0801
≈ Soy Sauce
- 061302
≈ Memorial Black
- 001119
≈ Black Glaze
对比度与无障碍
Ag
AAA白底
WCAG 19.36:1 · APCA Lc 106
Ag
Fail黑底
WCAG 1.08:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 19.36:1 (AAA) · APCA Lc 106
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #16081b;
--shot-in-the-dark-rgb: 22 8 27;
--shot-in-the-dark-oklch: oklch(0.167 0.043 316.7);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(284 54% 7%);
border-color: oklch(0.167 0.043 316.7);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #16081b;
--color-shot-in-the-dark-50: #fbf1fd;
--color-shot-in-the-dark-100: #eee4f1;
--color-shot-in-the-dark-200: #dccfe0;
--color-shot-in-the-dark-300: #c1b1c6;
--color-shot-in-the-dark-400: #a997b0;
--color-shot-in-the-dark-500: #927e9a;
--color-shot-in-the-dark-600: #7b6a82;
--color-shot-in-the-dark-700: #635568;
--color-shot-in-the-dark-800: #483e4d;
--color-shot-in-the-dark-900: #322b35;
--color-shot-in-the-dark-950: #1e1821;
}SCSS
$shot-in-the-dark: #16081b;
$shot-in-the-dark-rgb: 22, 8, 27;
$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);
}