#4E42E4
#4e42e4 ≈ Majorelle Blue
#4e42e4 属于蓝系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 30.59% 红、25.88% 绿和 89.41% 蓝组成;采用 CMYK 印刷时需要 65.79% 青、71.05% 品红、0% 黄和 10.59% 黑。 在 HSL 中,它的色相角为 244.44°,饱和度为 75%,明度为 57.65%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 6.51:1(WCAG AA)。 最接近的命名颜色是 Majorelle Blue(#6050dc),ΔE 为 4.07。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1112 |
暗调
#4e42e4 逐步混入黑色。
亮调
#4e42e4 逐步混入白色。
灰调
#4e42e4 逐步混入灰色。
清晰易读的文字
6.51:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.22:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-4e42e4 {
color: #4e42e4;
}
背景
.bg-4e42e4 {
background-color: #4e42e4;
color: #ffffff;
}
边框
.border-4e42e4 {
border: 2px solid #4e42e4;
}
CSS 变量
:root {
--color-primary: #4e42e4;
--color-primary-rgb: 78 66 228;
--color-primary-hsl: 244 75% 58%;
}
渐变
.gradient-4e42e4 {
background: linear-gradient(135deg, #4e42e4, #9f42e4);
}
彩色阴影
.shadow-4e42e4 {
box-shadow: 0 8px 24px rgb(78 66 228 / 0.35);
}
Majorelle Blue
#4e42e4 rgb(78, 66, 228) hsl(244, 75%, 58%) Majorelle Blue
#d8e442 rgb(216, 228, 66) hsl(64, 75%, 58%) Pear
#e44e42 rgb(228, 78, 66) hsl(4, 75%, 58%) Cinnabar
#42e44e rgb(66, 228, 78) hsl(124, 75%, 58%) Malachite