最接近的命名颜色 · #211320
#211320
最接近的命名颜色: Shot in the Dark
#211320(rgb(33 19 32)、hsl(304 27% 10%)、oklch(0.211 0.033 329.1))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#211320
oklch(0.211 0.033 329.1)
颜色转换
- HEX
- #211320
- RGB
- rgb(33 19 32)
- HSL
- hsl(304 27% 10%)
- HWB
- hwb(304 7% 87%)
- OKLCH
- oklch(0.211 0.033 329.1)
- OKLab
- oklab(0.211 0.028 -0.017)
- CIE Lab
- lab(8.06 9.53 -6.16)
- LCH
- lch(8.06 11.35 327.1)
- CMYK
- cmyk(0% 42% 3% 87%)
浅色调 · 深色调 · 灰色调
浅色调
- 342633
- 483B46
- 5C505B
- 726771
- 887F87
- 9E979E
- B6B0B5
- CECACD
- E6E4E6
深色调
- 1B0F1A
- 160B15
- 10070F
- 0B050A
- 060306
- 030103
- 010101
- 000000
- 000000
灰色调
- 2A1D29
- 332732
- 3C313B
- 453B44
- 4E464E
- 585157
- 625D61
- 6C686B
- 767476
配色和谐
互补色 +180°
- 211320
Shot in the Dark
- 0D1D10
≈ Pinch of Pepper
类似色 -30° +30°
- 211320
Shot in the Dark
- 1B1526
≈ Sambucus
- 251218
≈ Italian Roast
三角配色 +120° +240°
- 211320
Shot in the Dark
- 1F1806
≈ Noir Mystique
- 031D21
≈ Black Stallion
分裂互补色 +150° +210°
- 211320
Shot in the Dark
- 171B09
≈ Noir Mystique
- 041E19
≈ Stellar Explorer
四角配色 +90° +180° +270°
- 211320
Shot in the Dark
- 241508
≈ Cannon Black
- 0D1D10
≈ Pinch of Pepper
- 091B26
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 17.81:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #211320;
--shot-in-the-dark-rgb: 33 19 32;
--shot-in-the-dark-oklch: oklch(0.211 0.033 329.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(304 27% 10%);
border-color: oklch(0.211 0.033 329.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #211320;
--color-shot-in-the-dark-50: #fbf2f9;
--color-shot-in-the-dark-100: #efe4ed;
--color-shot-in-the-dark-200: #ddcfdb;
--color-shot-in-the-dark-300: #c2b2bf;
--color-shot-in-the-dark-400: #aa98a8;
--color-shot-in-the-dark-500: #937f91;
--color-shot-in-the-dark-600: #7c6b7b;
--color-shot-in-the-dark-700: #635662;
--color-shot-in-the-dark-800: #493f48;
--color-shot-in-the-dark-900: #322b32;
--color-shot-in-the-dark-950: #1e181e;
}SCSS
$shot-in-the-dark: #211320;
$shot-in-the-dark-rgb: 33, 19, 32;
$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);
}