最接近的命名颜色 · #241122
#241122
最接近的命名颜色: Shot in the Dark
#241122(rgb(36 17 34)、hsl(306 36% 10%)、oklch(0.213 0.043 330.8))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#241122
oklch(0.213 0.043 330.8)
颜色转换
- HEX
- #241122
- RGB
- rgb(36 17 34)
- HSL
- hsl(306 36% 10%)
- HWB
- hwb(306 7% 86%)
- OKLCH
- oklch(0.213 0.043 330.8)
- OKLab
- oklab(0.213 0.038 -0.021)
- CIE Lab
- lab(8.05 12.65 -7.64)
- LCH
- lch(8.05 14.78 328.9)
- CMYK
- cmyk(0% 53% 6% 86%)
浅色调 · 深色调 · 灰色调
浅色调
- 372535
- 4B3948
- 5F4F5D
- 746672
- 8A7E88
- A0969F
- B7AFB6
- CFC9CE
- E7E4E6
深色调
- 1E0D1C
- 180916
- 120611
- 0C040B
- 070207
- 040103
- 020001
- 000000
- 000000
灰色调
- 2D1B2B
- 352533
- 3E303C
- 473A45
- 50454F
- 5A5158
- 635C62
- 6D686C
- 767476
配色和谐
互补色 +180°
- 241122
Shot in the Dark
- 081E0E
≈ Clock Chimes Thirteen
类似色 -30° +30°
- 241122
Shot in the Dark
- 1C142A
≈ Sambucus
- 291018
≈ Dark Danger
三角配色 +120° +240°
- 241122
Shot in the Dark
- 201800
≈ Noir Mystique
- 001D22
≈ Stellar Explorer
分裂互补色 +150° +210°
- 241122
Shot in the Dark
- 161C04
≈ Pinch of Pepper
- 001F1A
≈ Stellar Explorer
四角配色 +90° +180° +270°
- 241122
Shot in the Dark
- 271403
≈ Cannon Black
- 081E0E
≈ Clock Chimes Thirteen
- 041B2B
≈ Oxford by Night
对比度与无障碍
Ag
AAA白底
WCAG 17.82:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #241122;
--shot-in-the-dark-rgb: 36 17 34;
--shot-in-the-dark-oklch: oklch(0.213 0.043 330.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(306 36% 10%);
border-color: oklch(0.213 0.043 330.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #241122;
--color-shot-in-the-dark-50: #fdf1fb;
--color-shot-in-the-dark-100: #f1e3ee;
--color-shot-in-the-dark-200: #e0cedc;
--color-shot-in-the-dark-300: #c5b0c1;
--color-shot-in-the-dark-400: #ae96aa;
--color-shot-in-the-dark-500: #977c94;
--color-shot-in-the-dark-600: #80697d;
--color-shot-in-the-dark-700: #665464;
--color-shot-in-the-dark-800: #4b3d4a;
--color-shot-in-the-dark-900: #342a33;
--color-shot-in-the-dark-950: #1f181f;
}SCSS
$shot-in-the-dark: #241122;
$shot-in-the-dark-rgb: 36, 17, 34;
$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);
}