最接近的命名颜色 · #281304
#281304
最接近的命名颜色: Shadow Play
#281304(rgb(40 19 4)、hsl(25 82% 9%)、oklch(0.213 0.044 55.6))最接近命名颜色 Shadow Play。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#281304
oklch(0.213 0.044 55.6)
颜色转换
- HEX
- #281304
- RGB
- rgb(40 19 4)
- HSL
- hsl(25 82% 9%)
- HWB
- hwb(25 2% 84%)
- OKLCH
- oklch(0.213 0.044 55.6)
- OKLab
- oklab(0.213 0.025 0.036)
- CIE Lab
- lab(8.54 9.9 11.33)
- LCH
- lch(8.54 15.04 48.9)
- CMYK
- cmyk(0% 53% 90% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B2718
- 4F3B2E
- 635145
- 78685D
- 8D7F76
- A39790
- B9B0AB
- D0CAC6
- E7E4E2
深色调
- 210F03
- 1B0B02
- 150701
- 0F0501
- 090301
- 040100
- 020100
- 010000
- 000000
灰色调
- 301D0F
- 39271A
- 423126
- 4A3C32
- 53473E
- 5C524B
- 655D58
- 6E6865
- 777472
配色和谐
互补色 +180°
- 281304
Shadow Play
- 011C2A
≈ Oxford by Night
类似色 -30° +30°
- 281304
Shadow Play
- 2A100E
≈ Root Brew
- 221700
≈ Cannon Black
三角配色 +120° +240°
- 281304
Shadow Play
- 001F18
≈ Stellar Explorer
- 1B142B
≈ Sambucus
分裂互补色 +150° +210°
- 281304
Shadow Play
- 001E21
≈ Stellar Explorer
- 0F182D
≈ Dark Knight
四角配色 +90° +180° +270°
- 281304
Shadow Play
- 0A1E0C
≈ Clock Chimes Thirteen
- 011C2A
≈ Oxford by Night
- 231124
≈ Inside
对比度与无障碍
Ag
AAA白底
WCAG 17.71:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.18:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.71:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shadow-play: #281304;
--shadow-play-rgb: 40 19 4;
--shadow-play-oklch: oklch(0.213 0.044 55.6);
}
.element {
color: var(--shadow-play);
background-color: hsl(25 82% 9%);
border-color: oklch(0.213 0.044 55.6);
}Tailwind CSS v4
@theme {
--color-shadow-play: #281304;
--color-shadow-play-50: #fff2e9;
--color-shadow-play-100: #f4e5da;
--color-shadow-play-200: #e3d0c3;
--color-shadow-play-300: #c9b2a2;
--color-shadow-play-400: #b39886;
--color-shadow-play-500: #9d7f6b;
--color-shadow-play-600: #856c5b;
--color-shadow-play-700: #6b5648;
--color-shadow-play-800: #4f3e34;
--color-shadow-play-900: #372b24;
--color-shadow-play-950: #221813;
}SCSS
$shadow-play: #281304;
$shadow-play-rgb: 40, 19, 4;
$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);
}