最接近的命名颜色 · #340015
#340015
最接近的命名颜色: What We Do in the Shadows
#340015(rgb(52 0 21)、hsl(336 100% 10%)、oklch(0.21 0.085 2.3))最接近命名颜色 What We Do in the Shadows。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#340015
oklch(0.21 0.085 2.3)
颜色转换
- HEX
- #340015
- RGB
- rgb(52 0 21)
- HSL
- hsl(336 100% 10%)
- HWB
- hwb(336 0% 80%)
- OKLCH
- oklch(0.21 0.085 2.3)
- OKLab
- oklab(0.21 0.085 0.003)
- CIE Lab
- lab(7.31 27.17 1.6)
- LCH
- lch(7.31 27.22 3.4)
- CMYK
- cmyk(0% 100% 60% 80%)
浅色调 · 深色调 · 灰色调
浅色调
- 481828
- 5C2F3C
- 704652
- 845F68
- 98777F
- AD9198
- C1ACB0
- D5C7CA
- EAE3E4
深色调
- 2C0011
- 24000C
- 1C0008
- 150005
- 0E0003
- 070002
- 030001
- 010000
- 000000
灰色调
- 3D0D1E
- 451A28
- 4D2732
- 55333C
- 5D3F47
- 644C52
- 6B595D
- 726669
- 797374
配色和谐
互补色 +180°
- 340015
What We Do in the Shadows
- 001E1A
≈ Stellar Explorer
类似色 -30° +30°
- 340015
What We Do in the Shadows
- 2D0329
≈ Globe Thistle
- 340300
≈ 3AM Breakup
三角配色 +120° +240°
- 340015
What We Do in the Shadows
- 141C00
≈ Yuzu Soy
- 001A2D
≈ Oxford by Night
分裂互补色 +150° +210°
- 340015
What We Do in the Shadows
- 001F0B
≈ Clock Chimes Thirteen
- 001C22
≈ Creeping Death
四角配色 +90° +180° +270°
- 340015
What We Do in the Shadows
- 1F1700
≈ Noir Mystique
- 001E1A
≈ Stellar Explorer
- 0D113E
≈ Grim Reaper
对比度与无障碍
Ag
AAA白底
WCAG 18.15:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.15:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 18.15:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--what-we-do-in-the-shadows: #340015;
--what-we-do-in-the-shadows-rgb: 52 0 21;
--what-we-do-in-the-shadows-oklch: oklch(0.21 0.085 2.3);
}
.element {
color: var(--what-we-do-in-the-shadows);
background-color: hsl(336 100% 10%);
border-color: oklch(0.21 0.085 2.3);
}Tailwind CSS v4
@theme {
--color-what-we-do-in-the-shadows: #340015;
--color-what-we-do-in-the-shadows-50: #ffecf2;
--color-what-we-do-in-the-shadows-100: #ffdde4;
--color-what-we-do-in-the-shadows-200: #f5c6d0;
--color-what-we-do-in-the-shadows-300: #dea6b2;
--color-what-we-do-in-the-shadows-400: #c9899a;
--color-what-we-do-in-the-shadows-500: #b56e81;
--color-what-we-do-in-the-shadows-600: #995d6e;
--color-what-we-do-in-the-shadows-700: #7b4a58;
--color-what-we-do-in-the-shadows-800: #5b3641;
--color-what-we-do-in-the-shadows-900: #3f252d;
--color-what-we-do-in-the-shadows-950: #28131a;
}SCSS
$what-we-do-in-the-shadows: #340015;
$what-we-do-in-the-shadows-rgb: 52, 0, 21;
$what-we-do-in-the-shadows-light: mix(#fff, $what-we-do-in-the-shadows, 20%);
$what-we-do-in-the-shadows-dark: mix(#000, $what-we-do-in-the-shadows, 20%);
.element {
color: $what-we-do-in-the-shadows;
box-shadow: 0 0 0 2px rgba($what-we-do-in-the-shadows, 0.35);
}