最接近的命名颜色 · #23121F
#23121F
最接近的命名颜色: Shot in the Dark
#23121F(rgb(35 18 31)、hsl(314 32% 10%)、oklch(0.212 0.036 335.9))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#23121F
oklch(0.212 0.036 335.9)
颜色转换
- HEX
- #23121f
- RGB
- rgb(35 18 31)
- HSL
- hsl(314 32% 10%)
- HWB
- hwb(314 7% 86%)
- OKLCH
- oklch(0.212 0.036 335.9)
- OKLab
- oklab(0.212 0.033 -0.015)
- CIE Lab
- lab(8.05 10.99 -5.39)
- LCH
- lch(8.05 12.24 333.9)
- CMYK
- cmyk(0% 49% 11% 86%)
浅色调 · 深色调 · 灰色调
浅色调
- 362532
- 4A3A45
- 5E505A
- 736670
- 897E86
- A0969D
- B7B0B5
- CEC9CD
- E6E4E6
深色调
- 1D0E19
- 170A14
- 11070F
- 0C040A
- 070206
- 040103
- 010101
- 000000
- 000000
灰色调
- 2C1C28
- 352631
- 3D303A
- 473B43
- 50464D
- 595157
- 635C61
- 6C686B
- 767475
配色和谐
互补色 +180°
- 23121F
Shot in the Dark
- 091E12
≈ Clock Chimes Thirteen
类似色 -30° +30°
- 23121F
Shot in the Dark
- 1D1426
≈ Inside
- 271116
≈ Italian Roast
三角配色 +120° +240°
- 23121F
Shot in the Dark
- 1E1804
≈ Noir Mystique
- 011D23
≈ Stellar Explorer
分裂互补色 +150° +210°
- 23121F
Shot in the Dark
- 151C08
≈ Pinch of Pepper
- 011E1B
≈ Stellar Explorer
四角配色 +90° +180° +270°
- 23121F
Shot in the Dark
- 241506
≈ Cannon Black
- 091E12
≈ Clock Chimes Thirteen
- 091A28
≈ Oxford by Night
对比度与无障碍
Ag
AAA白底
WCAG 17.83:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #23121f;
--shot-in-the-dark-rgb: 35 18 31;
--shot-in-the-dark-oklch: oklch(0.212 0.036 335.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(314 32% 10%);
border-color: oklch(0.212 0.036 335.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #23121f;
--color-shot-in-the-dark-50: #fdf1f9;
--color-shot-in-the-dark-100: #f0e3ec;
--color-shot-in-the-dark-200: #dfcfda;
--color-shot-in-the-dark-300: #c4b1be;
--color-shot-in-the-dark-400: #ad97a7;
--color-shot-in-the-dark-500: #967d8f;
--color-shot-in-the-dark-600: #7f6a79;
--color-shot-in-the-dark-700: #665561;
--color-shot-in-the-dark-800: #4a3e48;
--color-shot-in-the-dark-900: #342b32;
--color-shot-in-the-dark-950: #1f181e;
}SCSS
$shot-in-the-dark: #23121f;
$shot-in-the-dark-rgb: 35, 18, 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);
}