最接近的命名颜色 · #271206
#271206
最接近的命名颜色: Shadow Play
#271206(rgb(39 18 6)、hsl(22 73% 9%)、oklch(0.21 0.041 49.9))最接近命名颜色 Shadow Play。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#271206
oklch(0.21 0.041 49.9)
颜色转换
- HEX
- #271206
- RGB
- rgb(39 18 6)
- HSL
- hsl(22 73% 9%)
- HWB
- hwb(22 2% 85%)
- OKLCH
- oklch(0.21 0.041 49.9)
- OKLab
- oklab(0.21 0.026 0.031)
- CIE Lab
- lab(8.09 10.17 9.86)
- LCH
- lch(8.09 14.17 44.1)
- CMYK
- cmyk(0% 54% 85% 85%)
浅色调 · 深色调 · 灰色调
浅色调
- 3A261A
- 4E3A30
- 625046
- 77675E
- 8C7E77
- A29791
- B9B0AB
- D0CAC6
- E7E4E2
深色调
- 200E04
- 1A0A03
- 140702
- 0E0401
- 080201
- 040100
- 020100
- 010000
- 000000
灰色调
- 301C11
- 38261C
- 413027
- 4A3B33
- 53463F
- 5B514C
- 645D58
- 6E6865
- 777473
配色和谐
互补色 +180°
- 271206
Shadow Play
- 001B27
≈ Oxford by Night
类似色 -30° +30°
- 271206
Shadow Play
- 281010
≈ Italian Roast
- 221601
≈ Cannon Black
三角配色 +120° +240°
- 271206
Shadow Play
- 001E15
≈ Clock Chimes Thirteen
- 18152A
≈ Sambucus
分裂互补色 +150° +210°
- 271206
Shadow Play
- 001D1F
≈ Stellar Explorer
- 0D182B
≈ Sambucus
四角配色 +90° +180° +270°
- 271206
Shadow Play
- 0D1D0A
≈ Pinch of Pepper
- 001B27
≈ Oxford by Night
- 201224
≈ Inside
对比度与无障碍
Ag
AAA白底
WCAG 17.86:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shadow-play: #271206;
--shadow-play-rgb: 39 18 6;
--shadow-play-oklch: oklch(0.21 0.041 49.9);
}
.element {
color: var(--shadow-play);
background-color: hsl(22 73% 9%);
border-color: oklch(0.21 0.041 49.9);
}Tailwind CSS v4
@theme {
--color-shadow-play: #271206;
--color-shadow-play-50: #fff2eb;
--color-shadow-play-100: #f4e4dc;
--color-shadow-play-200: #e3d0c5;
--color-shadow-play-300: #c9b2a5;
--color-shadow-play-400: #b39889;
--color-shadow-play-500: #9d7f6e;
--color-shadow-play-600: #856b5d;
--color-shadow-play-700: #6b564b;
--color-shadow-play-800: #4f3e36;
--color-shadow-play-900: #372b25;
--color-shadow-play-950: #221814;
}SCSS
$shadow-play: #271206;
$shadow-play-rgb: 39, 18, 6;
$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);
}