最接近的命名颜色 · #211223
#211223
最接近的命名颜色: Shot in the Dark
#211223(rgb(33 18 35)、hsl(293 32% 10%)、oklch(0.211 0.039 322.6))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#211223
oklch(0.211 0.039 322.6)
颜色转换
- HEX
- #211223
- RGB
- rgb(33 18 35)
- HSL
- hsl(293 32% 10%)
- HWB
- hwb(293 7% 86%)
- OKLCH
- oklch(0.211 0.039 322.6)
- OKLab
- oklab(0.211 0.031 -0.024)
- CIE Lab
- lab(7.89 10.8 -8.69)
- LCH
- lch(7.89 13.86 321.2)
- CMYK
- cmyk(6% 49% 0% 86%)
浅色调 · 深色调 · 灰色调
浅色调
- 342536
- 483A49
- 5C505E
- 726673
- 887E89
- 9E979F
- B6B0B7
- CECACE
- E6E4E6
深色调
- 1B0E1D
- 160A17
- 100711
- 0B040C
- 060207
- 030104
- 010101
- 000000
- 000000
灰色调
- 2A1C2C
- 332634
- 3C303D
- 453B46
- 4E464F
- 585159
- 625C62
- 6C686C
- 767476
配色和谐
互补色 +180°
- 211223
Shot in the Dark
- 0D1D0C
≈ Pinch of Pepper
类似色 -30° +30°
- 211223
Shot in the Dark
- 191529
≈ Sambucus
- 26101A
≈ Inside
三角配色 +120° +240°
- 211223
Shot in the Dark
- 211702
≈ Cannon Black
- 001D20
≈ Stellar Explorer
分裂互补色 +150° +210°
- 211223
Shot in the Dark
- 191A04
≈ Noir Mystique
- 011E17
≈ Clock Chimes Thirteen
四角配色 +90° +180° +270°
- 211223
Shot in the Dark
- 261306
≈ Severely Burnt Toast
- 0D1D0C
≈ Pinch of Pepper
- 031B27
≈ Oxford by Night
对比度与无障碍
Ag
AAA白底
WCAG 17.86:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #211223;
--shot-in-the-dark-rgb: 33 18 35;
--shot-in-the-dark-oklch: oklch(0.211 0.039 322.6);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(293 32% 10%);
border-color: oklch(0.211 0.039 322.6);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #211223;
--color-shot-in-the-dark-50: #fbf1fc;
--color-shot-in-the-dark-100: #efe4ef;
--color-shot-in-the-dark-200: #ddcfde;
--color-shot-in-the-dark-300: #c2b1c3;
--color-shot-in-the-dark-400: #aa97ac;
--color-shot-in-the-dark-500: #937e96;
--color-shot-in-the-dark-600: #7c6b7f;
--color-shot-in-the-dark-700: #645565;
--color-shot-in-the-dark-800: #493e4b;
--color-shot-in-the-dark-900: #322b34;
--color-shot-in-the-dark-950: #1e181f;
}SCSS
$shot-in-the-dark: #211223;
$shot-in-the-dark-rgb: 33, 18, 35;
$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);
}