最接近的命名颜色 · #1F1325
#1F1325
最接近的命名颜色: Shot in the Dark
#1F1325(rgb(31 19 37)、hsl(280 32% 11%)、oklch(0.212 0.039 313.9))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1F1325
oklch(0.212 0.039 313.9)
颜色转换
- HEX
- #1f1325
- RGB
- rgb(31 19 37)
- HSL
- hsl(280 32% 11%)
- HWB
- hwb(280 7% 85%)
- OKLCH
- oklch(0.212 0.039 313.9)
- OKLab
- oklab(0.212 0.027 -0.028)
- CIE Lab
- lab(7.98 9.62 -10.08)
- LCH
- lch(7.98 13.93 313.6)
- CMYK
- cmyk(16% 49% 0% 85%)
浅色调 · 深色调 · 灰色调
浅色调
- 322638
- 453B4B
- 5A515F
- 706775
- 867F8A
- 9D97A1
- B5B0B7
- CDCACF
- E6E4E7
深色调
- 190F1F
- 140B19
- 0F0713
- 0A050D
- 060308
- 030104
- 010102
- 000000
- 000000
灰色调
- 281D2D
- 312736
- 3A313F
- 433B48
- 4D4651
- 57515A
- 615D63
- 6B686D
- 757476
配色和谐
互补色 +180°
- 1F1325
Shot in the Dark
- 111C09
≈ Pinch of Pepper
类似色 -30° +30°
- 1F1325
Shot in the Dark
- 17162A
≈ Sambucus
- 25111D
≈ Inside
三角配色 +120° +240°
- 1F1325
Shot in the Dark
- 231603
≈ Cannon Black
- 001E1D
≈ Stellar Explorer
分裂互补色 +150° +210°
- 1F1325
Shot in the Dark
- 1C1903
≈ Noir Mystique
- 041E14
≈ Clock Chimes Thirteen
四角配色 +90° +180° +270°
- 1F1325
Shot in the Dark
- 271209
≈ Severely Burnt Toast
- 111C09
≈ Pinch of Pepper
- 011C26
≈ 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: #1f1325;
--shot-in-the-dark-rgb: 31 19 37;
--shot-in-the-dark-oklch: oklch(0.212 0.039 313.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(280 32% 11%);
border-color: oklch(0.212 0.039 313.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1325;
--color-shot-in-the-dark-50: #faf2fd;
--color-shot-in-the-dark-100: #ede4f1;
--color-shot-in-the-dark-200: #dbd0e0;
--color-shot-in-the-dark-300: #bfb2c5;
--color-shot-in-the-dark-400: #a798af;
--color-shot-in-the-dark-500: #907f98;
--color-shot-in-the-dark-600: #796c81;
--color-shot-in-the-dark-700: #615667;
--color-shot-in-the-dark-800: #473f4c;
--color-shot-in-the-dark-900: #312b35;
--color-shot-in-the-dark-950: #1d1820;
}SCSS
$shot-in-the-dark: #1f1325;
$shot-in-the-dark-rgb: 31, 19, 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);
}