最接近的命名颜色 · #28120B
#28120B
最接近的命名颜色: Shadow Play
#28120B(rgb(40 18 11)、hsl(14 57% 10%)、oklch(0.213 0.039 38.4))最接近命名颜色 Shadow Play。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#28120B
oklch(0.213 0.039 38.4)
颜色转换
- HEX
- #28120b
- RGB
- rgb(40 18 11)
- HSL
- hsl(14 57% 10%)
- HWB
- hwb(14 4% 84%)
- OKLCH
- oklch(0.213 0.039 38.4)
- OKLab
- oklab(0.213 0.031 0.024)
- CIE Lab
- lab(8.36 11.07 8.24)
- LCH
- lch(8.36 13.8 36.7)
- CMYK
- cmyk(0% 55% 73% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B261F
- 4F3A34
- 63504A
- 786761
- 8D7E7A
- A39793
- B9B0AD
- D0CAC8
- E7E4E3
深色调
- 210E08
- 1B0A06
- 150704
- 0F0402
- 090201
- 040101
- 020100
- 010000
- 000000
灰色调
- 311C15
- 392620
- 42302B
- 4A3B36
- 534642
- 5C514E
- 655D5A
- 6E6866
- 777473
配色和谐
互补色 +180°
- 28120B
Shadow Play
- 001D25
≈ Oxford by Night
类似色 -30° +30°
- 28120B
Shadow Play
- 281115
≈ Italian Roast
- 251504
≈ Cannon Black
三角配色 +120° +240°
- 28120B
Shadow Play
- 061E12
≈ Clock Chimes Thirteen
- 15172B
≈ Sambucus
分裂互补色 +150° +210°
- 28120B
Shadow Play
- 001E1C
≈ Stellar Explorer
- 091A2A
≈ Oxford by Night
四角配色 +90° +180° +270°
- 28120B
Shadow Play
- 131C08
≈ Pinch of Pepper
- 001D25
≈ Oxford by Night
- 1E1427
≈ Inside
对比度与无障碍
Ag
AAA白底
WCAG 17.77:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.18:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shadow-play: #28120b;
--shadow-play-rgb: 40 18 11;
--shadow-play-oklch: oklch(0.213 0.039 38.4);
}
.element {
color: var(--shadow-play);
background-color: hsl(14 57% 10%);
border-color: oklch(0.213 0.039 38.4);
}Tailwind CSS v4
@theme {
--color-shadow-play: #28120b;
--color-shadow-play-50: #fff2ed;
--color-shadow-play-100: #f4e4de;
--color-shadow-play-200: #e4cfc8;
--color-shadow-play-300: #cab1a9;
--color-shadow-play-400: #b4978e;
--color-shadow-play-500: #9e7e73;
--color-shadow-play-600: #866a62;
--color-shadow-play-700: #6b554e;
--color-shadow-play-800: #4f3e39;
--color-shadow-play-900: #372b27;
--color-shadow-play-950: #221815;
}SCSS
$shadow-play: #28120b;
$shadow-play-rgb: 40, 18, 11;
$shadow-play-light: mix(#fff, $shadow-play, 20%);
$shadow-play-dark: mix(#000, $shadow-play, 20%);
.element {
color: $shadow-play;
box-shadow: 0 0 0 2px rgba($shadow-play, 0.35);
}