最接近的命名颜色 · #261A30
#261A30
最接近的命名颜色: Shot in the Dark
#261A30(rgb(38 26 48)、hsl(273 30% 15%)、oklch(0.243 0.044 308.5))最接近命名颜色 Shot in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#261A30
oklch(0.243 0.044 308.5)
颜色转换
- HEX
- #261a30
- RGB
- rgb(38 26 48)
- HSL
- hsl(273 30% 15%)
- HWB
- hwb(273 10% 81%)
- OKLCH
- oklch(0.243 0.044 308.5)
- OKLab
- oklab(0.243 0.027 -0.034)
- CIE Lab
- lab(11.63 10.17 -12.46)
- LCH
- lch(11.63 16.08 309.2)
- CMYK
- cmyk(21% 46% 0% 81%)
浅色调 · 深色调 · 灰色调
浅色调
- 382D42
- 4C4155
- 605768
- 756D7C
- 8A8391
- A19BA6
- B7B3BC
- CFCCD2
- E7E5E8
深色调
- 201528
- 191021
- 130C1A
- 0D0713
- 08040C
- 040206
- 020103
- 010001
- 000000
灰色调
- 2E2338
- 372D3F
- 3F3647
- 48404F
- 514A57
- 5A555F
- 635F67
- 6D6A6F
- 767578
配色和谐
互补色 +180°
- 261A30
Shot in the Dark
- 1A240C
≈ Midnight Pines
类似色 -30° +30°
- 261A30
Shot in the Dark
- 1B1E35
≈ Sombre Night
- 2E1727
≈ Black Cherry
三角配色 +120° +240°
- 261A30
Shot in the Dark
- 2E1C06
≈ Powdered Cocoa
- 002624
≈ Teal Spill
分裂互补色 +150° +210°
- 261A30
Shot in the Dark
- 252005
≈ Liquorice Root
- 0A2618
≈ Deep Slate Green
四角配色 +90° +180° +270°
- 261A30
Shot in the Dark
- 321810
≈ Darkroom
- 1A240C
≈ Midnight Pines
- 00252E
≈ Daintree
对比度与无障碍
Ag
AAA白底
WCAG 16.49:1 · APCA Lc 103
Ag
Fail黑底
WCAG 1.27:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 16.49:1 (AAA) · APCA Lc 103
Contrast pairs
代码片段
CSS
:root {
--shot-in-the-dark: #261a30;
--shot-in-the-dark-rgb: 38 26 48;
--shot-in-the-dark-oklch: oklch(0.243 0.044 308.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(273 30% 15%);
border-color: oklch(0.243 0.044 308.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #261a30;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ece4f3;
--color-shot-in-the-dark-200: #dacfe3;
--color-shot-in-the-dark-300: #beb2c8;
--color-shot-in-the-dark-400: #a698b3;
--color-shot-in-the-dark-500: #8e7f9d;
--color-shot-in-the-dark-600: #786b85;
--color-shot-in-the-dark-700: #60566a;
--color-shot-in-the-dark-800: #463f4f;
--color-shot-in-the-dark-900: #312b37;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #261a30;
$shot-in-the-dark-rgb: 38, 26, 48;
$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);
}