最接近的命名颜色 · #210E25
#210E25
最接近的命名颜色: Shot in the Dark
#210E25(rgb(33 14 37)、hsl(290 45% 10%)、oklch(0.204 0.051 320.5))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#210E25
oklch(0.204 0.051 320.5)
颜色转换
- HEX
- #210e25
- RGB
- rgb(33 14 37)
- HSL
- hsl(290 45% 10%)
- HWB
- hwb(290 5% 85%)
- OKLCH
- oklch(0.204 0.051 320.5)
- OKLab
- oklab(0.204 0.04 -0.033)
- CIE Lab
- lab(6.91 13.69 -11.7)
- LCH
- lch(6.91 18.01 319.5)
- CMYK
- cmyk(11% 62% 0% 85%)
浅色调 · 深色调 · 灰色调
浅色调
- 342238
- 48374B
- 5C4D60
- 726475
- 887C8A
- 9F95A1
- B6AEB8
- CEC9CF
- E6E4E7
深色调
- 1B0B1F
- 160719
- 100513
- 0B030D
- 060208
- 030104
- 010002
- 000000
- 000000
灰色调
- 2A182D
- 332336
- 3C2E3F
- 453948
- 4F4451
- 584F5A
- 625B63
- 6C676D
- 767476
配色和谐
互补色 +180°
- 210E25
Shot in the Dark
- 081C05
≈ Pinch of Pepper
类似色 -30° +30°
- 210E25
Shot in the Dark
- 17122C
≈ Lost in Sadness
- 270C1A
≈ Inside
三角配色 +120° +240°
- 210E25
Shot in the Dark
- 211400
≈ Super Black
- 001B1D
≈ Black Stallion
分裂互补色 +150° +210°
- 210E25
Shot in the Dark
- 181800
≈ Pinch of Pepper
- 001D14
≈ Clock Chimes Thirteen
四角配色 +90° +180° +270°
- 210E25
Shot in the Dark
- 290E01
≈ Root Brew
- 081C05
≈ Pinch of Pepper
- 001A26
≈ Creeping Death
对比度与无障碍
Ag
AAA白底
WCAG 18.19:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.15:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 18.19:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #210e25;
--shot-in-the-dark-rgb: 33 14 37;
--shot-in-the-dark-oklch: oklch(0.204 0.051 320.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(290 45% 10%);
border-color: oklch(0.204 0.051 320.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #210e25;
--color-shot-in-the-dark-50: #fdf1fe;
--color-shot-in-the-dark-100: #f0e3f2;
--color-shot-in-the-dark-200: #dfcde1;
--color-shot-in-the-dark-300: #c4afc7;
--color-shot-in-the-dark-400: #ad95b1;
--color-shot-in-the-dark-500: #967b9b;
--color-shot-in-the-dark-600: #7f6983;
--color-shot-in-the-dark-700: #655469;
--color-shot-in-the-dark-800: #4a3d4e;
--color-shot-in-the-dark-900: #332a36;
--color-shot-in-the-dark-950: #1f1721;
}SCSS
$shot-in-the-dark: #210e25;
$shot-in-the-dark-rgb: 33, 14, 37;
$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);
}