最接近的命名颜色 · #2C1813
#2C1813
最接近的命名颜色: Shadow Play
#2C1813(rgb(44 24 19)、hsl(12 40% 12%)、oklch(0.235 0.034 34.8))最接近命名颜色 Shadow Play。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2C1813
oklch(0.235 0.034 34.8)
颜色转换
- HEX
- #2c1813
- RGB
- rgb(44 24 19)
- HSL
- hsl(12 40% 12%)
- HWB
- hwb(12 7% 83%)
- OKLCH
- oklch(0.235 0.034 34.8)
- OKLab
- oklab(0.235 0.028 0.019)
- CIE Lab
- lab(10.95 9.82 7.77)
- LCH
- lch(10.95 12.52 38.4)
- CMYK
- cmyk(0% 45% 57% 83%)
浅色调 · 深色调 · 灰色调
浅色调
- 3F2B26
- 523F3B
- 665550
- 7A6B67
- 8F827F
- A59A97
- BBB2B0
- D1CBCA
- E8E5E4
深色调
- 25130F
- 1E0F0B
- 170A07
- 110705
- 0A0403
- 050201
- 020101
- 010000
- 000000
灰色调
- 34211D
- 3C2B27
- 453531
- 4D3F3B
- 554946
- 5E5451
- 665F5D
- 6F6A68
- 777574
配色和谐
互补色 +180°
- 2C1813
Shadow Play
- 072228
≈ Crow Feather
类似色 -30° +30°
- 2C1813
Shadow Play
- 2C171C
≈ Black Cherry
- 291B0C
≈ Brunneophobia
三角配色 +120° +240°
- 2C1813
Shadow Play
- 102317
≈ Nightmare
- 191D2E
≈ Hēi Sè Black
分裂互补色 +150° +210°
- 2C1813
Shadow Play
- 072320
≈ Teal Spill
- 0F202D
≈ The Count’s Black
四角配色 +90° +180° +270°
- 2C1813
Shadow Play
- 1A210E
≈ Nightmare
- 072228
≈ Crow Feather
- 221A2B
≈ Black Howl
对比度与无障碍
Ag
AAA白底
WCAG 16.83:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.24:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 16.83:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shadow-play: #2c1813;
--shadow-play-rgb: 44 24 19;
--shadow-play-oklch: oklch(0.235 0.034 34.8);
}
.element {
color: var(--shadow-play);
background-color: hsl(12 40% 12%);
border-color: oklch(0.235 0.034 34.8);
}Tailwind CSS v4
@theme {
--color-shadow-play: #2c1813;
--color-shadow-play-50: #fff2ee;
--color-shadow-play-100: #f3e4e0;
--color-shadow-play-200: #e2d0ca;
--color-shadow-play-300: #c8b2ab;
--color-shadow-play-400: #b19891;
--color-shadow-play-500: #9b7f77;
--color-shadow-play-600: #836b65;
--color-shadow-play-700: #695651;
--color-shadow-play-800: #4d3e3b;
--color-shadow-play-900: #362b28;
--color-shadow-play-950: #211816;
}SCSS
$shadow-play: #2c1813;
$shadow-play-rgb: 44, 24, 19;
$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);
}