最接近的命名颜色 · #281201
#281201
最接近的命名颜色: Shadow Play
#281201(rgb(40 18 1)、hsl(26 95% 8%)、oklch(0.21 0.048 58.9))最接近命名颜色 Shadow Play。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#281201
oklch(0.21 0.048 58.9)
颜色转换
- HEX
- #281201
- RGB
- rgb(40 18 1)
- HSL
- hsl(26 95% 8%)
- HWB
- hwb(26 0% 84%)
- OKLCH
- oklch(0.21 0.048 58.9)
- OKLab
- oklab(0.21 0.025 0.041)
- CIE Lab
- lab(8.2 10.36 12.06)
- LCH
- lch(8.2 15.89 49.3)
- CMYK
- cmyk(0% 55% 98% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B2615
- 4F3B2B
- 635042
- 78675B
- 8D7F74
- A3978E
- B9B0A9
- D0CAC5
- E7E4E2
深色调
- 210E01
- 1B0A01
- 150700
- 0F0400
- 090200
- 040100
- 020100
- 010000
- 000000
灰色调
- 311C0B
- 392617
- 423123
- 4A3B30
- 53463C
- 5C5149
- 655D57
- 6E6864
- 777472
配色和谐
互补色 +180°
- 281201
Shadow Play
- 001B2C
≈ Oxford by Night
类似色 -30° +30°
- 281201
Shadow Play
- 2B0F0B
≈ Root Brew
- 201700
≈ Noir Mystique
三角配色 +120° +240°
- 281201
Shadow Play
- 001E19
≈ Stellar Explorer
- 1C132B
≈ Sambucus
分裂互补色 +150° +210°
- 281201
Shadow Play
- 001D21
≈ Stellar Explorer
- 0F172E
≈ Liberty Blue
四角配色 +90° +180° +270°
- 281201
Shadow Play
- 061E0B
≈ Clock Chimes Thirteen
- 001B2C
≈ Oxford by Night
- 241023
≈ Inside
对比度与无障碍
Ag
AAA白底
WCAG 17.83:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--shadow-play: #281201;
--shadow-play-rgb: 40 18 1;
--shadow-play-oklch: oklch(0.21 0.048 58.9);
}
.element {
color: var(--shadow-play);
background-color: hsl(26 95% 8%);
border-color: oklch(0.21 0.048 58.9);
}Tailwind CSS v4
@theme {
--color-shadow-play: #281201;
--color-shadow-play-50: #fff2e8;
--color-shadow-play-100: #f4e5d8;
--color-shadow-play-200: #e4d0c0;
--color-shadow-play-300: #cab29f;
--color-shadow-play-400: #b49883;
--color-shadow-play-500: #9f7f67;
--color-shadow-play-600: #866c57;
--color-shadow-play-700: #6b5646;
--color-shadow-play-800: #4f3e32;
--color-shadow-play-900: #372b22;
--color-shadow-play-950: #221811;
}SCSS
$shadow-play: #281201;
$shadow-play-rgb: 40, 18, 1;
$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);
}