#4A42E2
#4a42e2 ≈ Iris
#4a42e2 属于蓝系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 29.02% 红、25.88% 绿和 88.63% 蓝组成;采用 CMYK 印刷时需要 67.26% 青、70.8% 品红、0% 黄和 11.37% 黑。 在 HSL 中,它的色相角为 243°,饱和度为 73.39%,明度为 57.25%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 6.63:1(WCAG AA)。 最接近的命名颜色是 Iris(#5a4fcf),ΔE 为 4.16。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1084 |
暗调
#4a42e2 逐步混入黑色。
亮调
#4a42e2 逐步混入白色。
灰调
#4a42e2 逐步混入灰色。
清晰易读的文字
6.63:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.17:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-4a42e2 {
color: #4a42e2;
}
背景
.bg-4a42e2 {
background-color: #4a42e2;
color: #ffffff;
}
边框
.border-4a42e2 {
border: 2px solid #4a42e2;
}
CSS 变量
:root {
--color-primary: #4a42e2;
--color-primary-rgb: 74 66 226;
--color-primary-hsl: 243 73% 57%;
}
渐变
.gradient-4a42e2 {
background: linear-gradient(135deg, #4a42e2, #9a42e2);
}
彩色阴影
.shadow-4a42e2 {
box-shadow: 0 8px 24px rgb(74 66 226 / 0.35);
}
Iris
#4a42e2 rgb(74, 66, 226) hsl(243, 73%, 57%) Iris
#dae242 rgb(218, 226, 66) hsl(63, 73%, 57%) Pear
#e24a42 rgb(226, 74, 66) hsl(3, 73%, 57%) Cinnabar
#42e24a rgb(66, 226, 74) hsl(123, 73%, 57%) Malachite