#796BEE
#796bee ≈ Medium Slate Blue
#796bee 属于蓝系颜色(明度:较高,饱和度:较高)。 在 RGB 模型中,它由 47.45% 红、41.96% 绿和 93.33% 蓝组成;采用 CMYK 印刷时需要 49.16% 青、55.04% 品红、0% 黄和 6.67% 黑。 在 HSL 中,它的色相角为 246.41°,饱和度为 79.39%,明度为 67.65%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用黑色文字时,对比度为 5.15:1(WCAG AA)。 最接近的命名颜色是 Medium Slate Blue(#7b68ee),ΔE 为 1。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #6666ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.2075 |
暗调
#796bee 逐步混入黑色。
亮调
#796bee 逐步混入白色。
灰调
#796bee 逐步混入灰色。
清晰易读的文字
4.08:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
清晰易读的文字
5.15:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-796bee {
color: #796bee;
}
背景
.bg-796bee {
background-color: #796bee;
color: #000000;
}
边框
.border-796bee {
border: 2px solid #796bee;
}
CSS 变量
:root {
--color-primary: #796bee;
--color-primary-rgb: 121 107 238;
--color-primary-hsl: 246 79% 68%;
}
渐变
.gradient-796bee {
background: linear-gradient(135deg, #796bee, #bb6bee);
}
彩色阴影
.shadow-796bee {
box-shadow: 0 8px 24px rgb(121 107 238 / 0.35);
}
Medium Slate Blue
#796bee rgb(121, 107, 238) hsl(246, 79%, 68%) Medium Slate Blue
#e0ee6b rgb(224, 238, 107) hsl(66, 79%, 68%) Pear
#ee796b rgb(238, 121, 107) hsl(6, 79%, 68%) Salmon
#6bee79 rgb(107, 238, 121) hsl(126, 79%, 68%) Pastel Green