最接近的命名颜色 · #1E0D1F
#1E0D1F
最接近的命名颜色: Shot in the Dark
#1E0D1F(rgb(30 13 31)、hsl(297 41% 9%)、oklch(0.193 0.043 325.1))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1E0D1F
oklch(0.193 0.043 325.1)
颜色转换
- HEX
- #1e0d1f
- RGB
- rgb(30 13 31)
- HSL
- hsl(297 41% 9%)
- HWB
- hwb(297 5% 88%)
- OKLCH
- oklch(0.193 0.043 325.1)
- OKLab
- oklab(0.193 0.035 -0.025)
- CIE Lab
- lab(5.97 11.26 -8.61)
- LCH
- lch(5.97 14.17 322.6)
- CMYK
- cmyk(3% 58% 0% 88%)
浅色调 · 深色调 · 灰色调
浅色调
- 312132
- 453646
- 5A4C5A
- 706370
- 867B86
- 9D949D
- B5AEB5
- CDC8CD
- E6E3E6
深色调
- 190A19
- 130714
- 0E050F
- 09030A
- 050206
- 030103
- 010001
- 000000
- 000000
灰色调
- 271728
- 302231
- 3A2C3A
- 433844
- 4D434D
- 574F57
- 615B61
- 6B676B
- 757376
配色和谐
互补色 +180°
- 1E0D1F
Shot in the Dark
- 071908
≈ Pinch of Pepper
类似色 -30° +30°
- 1E0D1F
Shot in the Dark
- 161026
≈ Corbeau
- 230B15
≈ Shot in the Dark
三角配色 +120° +240°
- 1E0D1F
Shot in the Dark
- 1D1300
≈ Super Black
- 00191B
≈ Black Stallion
分裂互补色 +150° +210°
- 1E0D1F
Shot in the Dark
- 141700
≈ Pinch of Pepper
- 001A14
≈ Pinch of Pepper
四角配色 +90° +180° +270°
- 1E0D1F
Shot in the Dark
- 230E02
≈ Severely Burnt Toast
- 071908
≈ Pinch of Pepper
- 001724
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 18.54:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.13:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 18.54:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #1e0d1f;
--shot-in-the-dark-rgb: 30 13 31;
--shot-in-the-dark-oklch: oklch(0.193 0.043 325.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(297 41% 9%);
border-color: oklch(0.193 0.043 325.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1e0d1f;
--color-shot-in-the-dark-50: #fcf1fc;
--color-shot-in-the-dark-100: #f0e3ef;
--color-shot-in-the-dark-200: #dfcede;
--color-shot-in-the-dark-300: #c4b0c3;
--color-shot-in-the-dark-400: #ac96ad;
--color-shot-in-the-dark-500: #957d96;
--color-shot-in-the-dark-600: #7e6a7f;
--color-shot-in-the-dark-700: #655466;
--color-shot-in-the-dark-800: #4a3e4b;
--color-shot-in-the-dark-900: #332a34;
--color-shot-in-the-dark-950: #1f1820;
}SCSS
$shot-in-the-dark: #1e0d1f;
$shot-in-the-dark-rgb: 30, 13, 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);
}