最接近的命名颜色 · #251023
#251023
最接近的命名颜色: Shot in the Dark
#251023(rgb(37 16 35)、hsl(306 40% 10%)、oklch(0.213 0.047 330.7))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#251023
oklch(0.213 0.047 330.7)
颜色转换
- HEX
- #251023
- RGB
- rgb(37 16 35)
- HSL
- hsl(306 40% 10%)
- HWB
- hwb(306 6% 85%)
- OKLCH
- oklch(0.213 0.047 330.7)
- OKLab
- oklab(0.213 0.041 -0.023)
- CIE Lab
- lab(7.99 13.93 -8.46)
- LCH
- lch(7.99 16.3 328.7)
- CMYK
- cmyk(0% 57% 5% 85%)
浅色调 · 深色调 · 灰色调
浅色调
- 382436
- 4C3949
- 604E5E
- 756573
- 8B7D89
- A1969F
- B8AFB6
- CFC9CE
- E7E4E6
深色调
- 1F0C1D
- 190917
- 130611
- 0D040C
- 080207
- 040104
- 020001
- 000000
- 000000
灰色调
- 2E1A2C
- 362434
- 3F2F3D
- 483A46
- 51454F
- 5A5059
- 645C62
- 6D686C
- 767476
配色和谐
互补色 +180°
- 251023
Shot in the Dark
- 051F0D
≈ Clock Chimes Thirteen
类似色 -30° +30°
- 251023
Shot in the Dark
- 1D132B
≈ Sambucus
- 2A0E18
≈ Dark Danger
三角配色 +120° +240°
- 251023
Shot in the Dark
- 201800
≈ Noir Mystique
- 001D22
≈ Stellar Explorer
分裂互补色 +150° +210°
- 251023
Shot in the Dark
- 161C02
≈ Yuzu Soy
- 001F1A
≈ Stellar Explorer
四角配色 +90° +180° +270°
- 251023
Shot in the Dark
- 281301
≈ Shadow Play
- 051F0D
≈ Clock Chimes Thirteen
- 011B2C
≈ Oxford by Night
对比度与无障碍
Ag
AAA白底
WCAG 17.84:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.84:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #251023;
--shot-in-the-dark-rgb: 37 16 35;
--shot-in-the-dark-oklch: oklch(0.213 0.047 330.7);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(306 40% 10%);
border-color: oklch(0.213 0.047 330.7);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #251023;
--color-shot-in-the-dark-50: #fef0fb;
--color-shot-in-the-dark-100: #f2e2ef;
--color-shot-in-the-dark-200: #e1cddd;
--color-shot-in-the-dark-300: #c7afc2;
--color-shot-in-the-dark-400: #af95ac;
--color-shot-in-the-dark-500: #997b95;
--color-shot-in-the-dark-600: #81687e;
--color-shot-in-the-dark-700: #685365;
--color-shot-in-the-dark-800: #4c3d4b;
--color-shot-in-the-dark-900: #352a34;
--color-shot-in-the-dark-950: #20171f;
}SCSS
$shot-in-the-dark: #251023;
$shot-in-the-dark-rgb: 37, 16, 35;
$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);
}