最接近的命名颜色 · #14051C
#14051C
最接近的命名颜色: Shot in the Dark
#14051C(rgb(20 5 28)、hsl(279 70% 6%)、oklch(0.157 0.052 312.7))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#14051C
oklch(0.157 0.052 312.7)
颜色转换
- HEX
- #14051c
- RGB
- rgb(20 5 28)
- HSL
- hsl(279 70% 6%)
- HWB
- hwb(279 2% 89%)
- OKLCH
- oklch(0.157 0.052 312.7)
- OKLab
- oklab(0.157 0.035 -0.038)
- CIE Lab
- lab(3.02 8.35 -10.78)
- LCH
- lch(3.02 13.63 307.8)
- CMYK
- cmyk(29% 82% 0% 89%)
浅色调 · 深色调 · 灰色调
浅色调
- 27182F
- 3C2E44
- 514559
- 685D6F
- 7F7685
- 97909C
- B0AAB4
- CAC6CD
- E4E2E6
深色调
- 100417
- 0C0312
- 08020D
- 050108
- 030105
- 010002
- 010001
- 000000
- 000000
灰色调
- 1E0F25
- 271A2F
- 322638
- 3C3242
- 473E4C
- 524B56
- 5D5860
- 68656B
- 747275
配色和谐
互补色 +180°
- 14051C
Shot in the Dark
- 051000
≈ Memorial Black
类似色 -30° +30°
- 14051C
Shot in the Dark
- 0A0822
≈ Mysterious Depths
- 1A0312
≈ Crow
三角配色 +120° +240°
- 14051C
Shot in the Dark
- 150A00
≈ Asphalt
- 001010
≈ Black Glaze
分裂互补色 +150° +210°
- 14051C
Shot in the Dark
- 0F0D00
≈ Chinese Black
- 001108
≈ Jedi Night
四角配色 +90° +180° +270°
- 14051C
Shot in the Dark
- 1C0500
≈ Soy Sauce
- 051000
≈ Memorial Black
- 000F16
≈ Black Glaze
对比度与无障碍
Ag
AAA白底
WCAG 19.65:1 · APCA Lc 106
Ag
Fail黑底
WCAG 1.06:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 19.65:1 (AAA) · APCA Lc 106
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #14051c;
--shot-in-the-dark-rgb: 20 5 28;
--shot-in-the-dark-oklch: oklch(0.157 0.052 312.7);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(279 70% 6%);
border-color: oklch(0.157 0.052 312.7);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #14051c;
--color-shot-in-the-dark-50: #fbf1ff;
--color-shot-in-the-dark-100: #eee3f4;
--color-shot-in-the-dark-200: #ddcee4;
--color-shot-in-the-dark-300: #c2b0ca;
--color-shot-in-the-dark-400: #a996b5;
--color-shot-in-the-dark-500: #927c9f;
--color-shot-in-the-dark-600: #7c6987;
--color-shot-in-the-dark-700: #63546c;
--color-shot-in-the-dark-800: #483d50;
--color-shot-in-the-dark-900: #322a38;
--color-shot-in-the-dark-950: #1e1822;
}SCSS
$shot-in-the-dark: #14051c;
$shot-in-the-dark-rgb: 20, 5, 28;
$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);
}