最接近的命名颜色 · #29150B
#29150B
最接近的命名颜色: Shadow Play
#29150B(rgb(41 21 11)、hsl(20 58% 10%)、oklch(0.221 0.037 46.7))最接近命名颜色 Shadow Play。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#29150B
oklch(0.221 0.037 46.7)
颜色转换
- HEX
- #29150b
- RGB
- rgb(41 21 11)
- HSL
- hsl(20 58% 10%)
- HWB
- hwb(20 4% 84%)
- OKLCH
- oklch(0.221 0.037 46.7)
- OKLab
- oklab(0.221 0.026 0.027)
- CIE Lab
- lab(9.41 9.58 9.76)
- LCH
- lch(9.41 13.68 45.5)
- CMYK
- cmyk(0% 49% 73% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 3C281F
- 4F3D34
- 63524A
- 786962
- 8D807A
- A39893
- BAB1AD
- D0CAC8
- E7E4E3
深色调
- 221108
- 1C0C06
- 150804
- 0F0502
- 090301
- 050201
- 020100
- 010000
- 000000
灰色调
- 311F15
- 3A2820
- 42332B
- 4B3D36
- 544842
- 5C524E
- 655E5A
- 6E6966
- 777473
配色和谐
互补色 +180°
- 29150B
Shadow Play
- 041E28
≈ Oxford by Night
类似色 -30° +30°
- 29150B
Shadow Play
- 2A1315
≈ Dark Danger
- 251805
≈ Cannon Black
三角配色 +120° +240°
- 29150B
Shadow Play
- 062017
≈ Clock Chimes Thirteen
- 1A182B
≈ Sambucus
分裂互补色 +150° +210°
- 29150B
Shadow Play
- 002021
≈ Stellar Explorer
- 0F1B2C
≈ Trapped Darkness
四角配色 +90° +180° +270°
- 29150B
Shadow Play
- 121F0D
≈ Nightmare
- 041E28
≈ Oxford by Night
- 221526
≈ Inside
对比度与无障碍
Ag
AAA白底
WCAG 17.40:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.20:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.40:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shadow-play: #29150b;
--shadow-play-rgb: 41 21 11;
--shadow-play-oklch: oklch(0.221 0.037 46.7);
}
.element {
color: var(--shadow-play);
background-color: hsl(20 58% 10%);
border-color: oklch(0.221 0.037 46.7);
}Tailwind CSS v4
@theme {
--color-shadow-play: #29150b;
--color-shadow-play-50: #fff2ec;
--color-shadow-play-100: #f3e5dd;
--color-shadow-play-200: #e2d0c7;
--color-shadow-play-300: #c8b2a7;
--color-shadow-play-400: #b2988c;
--color-shadow-play-500: #9c7f71;
--color-shadow-play-600: #846c60;
--color-shadow-play-700: #6a564d;
--color-shadow-play-800: #4e3e38;
--color-shadow-play-900: #362b26;
--color-shadow-play-950: #211815;
}SCSS
$shadow-play: #29150b;
$shadow-play-rgb: 41, 21, 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);
}