最接近的命名颜色 · #20111F
#20111F
最接近的命名颜色: Shot in the Dark
#20111F(rgb(32 17 31)、hsl(304 31% 10%)、oklch(0.205 0.035 329.1))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#20111F
oklch(0.205 0.035 329.1)
颜色转换
- HEX
- #20111f
- RGB
- rgb(32 17 31)
- HSL
- hsl(304 31% 10%)
- HWB
- hwb(304 7% 87%)
- OKLCH
- oklch(0.205 0.035 329.1)
- OKLab
- oklab(0.205 0.03 -0.018)
- CIE Lab
- lab(7.28 10.18 -6.59)
- LCH
- lch(7.28 12.13 327.1)
- CMYK
- cmyk(0% 47% 3% 87%)
浅色调 · 深色调 · 灰色调
浅色调
- 332432
- 473946
- 5C4F5A
- 716670
- 877D86
- 9E969D
- B5AFB5
- CDC9CD
- E6E4E6
深色调
- 1A0D19
- 150914
- 0F060F
- 0A040A
- 060206
- 030103
- 010001
- 000000
- 000000
灰色调
- 291B28
- 322531
- 3B2F3A
- 443A43
- 4E454D
- 585057
- 625C61
- 6C686B
- 767475
配色和谐
互补色 +180°
- 20111F
Shot in the Dark
- 0B1C0E
≈ Pinch of Pepper
类似色 -30° +30°
- 20111F
Shot in the Dark
- 191325
≈ Sambucus
- 241017
≈ Italian Roast
三角配色 +120° +240°
- 20111F
Shot in the Dark
- 1E1603
≈ Noir Mystique
- 001B20
≈ Creeping Death
分裂互补色 +150° +210°
- 20111F
Shot in the Dark
- 151906
≈ Pinch of Pepper
- 011C17
≈ Black Stallion
四角配色 +90° +180° +270°
- 20111F
Shot in the Dark
- 231306
≈ Severely Burnt Toast
- 0B1C0E
≈ Pinch of Pepper
- 061925
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 18.08:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.16:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 18.08:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #20111f;
--shot-in-the-dark-rgb: 32 17 31;
--shot-in-the-dark-oklch: oklch(0.205 0.035 329.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(304 31% 10%);
border-color: oklch(0.205 0.035 329.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #20111f;
--color-shot-in-the-dark-50: #fbf2fa;
--color-shot-in-the-dark-100: #efe4ed;
--color-shot-in-the-dark-200: #decfdb;
--color-shot-in-the-dark-300: #c3b1c0;
--color-shot-in-the-dark-400: #ab97a9;
--color-shot-in-the-dark-500: #947e92;
--color-shot-in-the-dark-600: #7d6b7b;
--color-shot-in-the-dark-700: #645563;
--color-shot-in-the-dark-800: #493e49;
--color-shot-in-the-dark-900: #332b32;
--color-shot-in-the-dark-950: #1e181e;
}SCSS
$shot-in-the-dark: #20111f;
$shot-in-the-dark-rgb: 32, 17, 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);
}