#CB239E
#cb239e ≈ Medium Violet Red
#cb239e 属于品红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 79.61% 红、13.73% 绿和 61.96% 蓝组成;采用 CMYK 印刷时需要 0% 青、82.76% 品红、22.17% 黄和 20.39% 黑。 在 HSL 中,它的色相角为 316.07°,饱和度为 70.59%,明度为 46.67%。 它介于冷暖之间,常让人联想到创意、大胆和个性。 设计师常把它用于美妆和化妆品、创意工作室和品牌点缀色。 在此颜色上使用白色文字时,对比度为 4.91:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 4.76。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1637 |
暗调
#cb239e 逐步混入黑色。
亮调
#cb239e 逐步混入白色。
灰调
#cb239e 逐步混入灰色。
清晰易读的文字
4.91:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4.27:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cb239e {
color: #cb239e;
}
背景
.bg-cb239e {
background-color: #cb239e;
color: #ffffff;
}
边框
.border-cb239e {
border: 2px solid #cb239e;
}
CSS 变量
:root {
--color-primary: #cb239e;
--color-primary-rgb: 203 35 158;
--color-primary-hsl: 316 71% 47%;
}
渐变
.gradient-cb239e {
background: linear-gradient(135deg, #cb239e, #cb234a);
}
彩色阴影
.shadow-cb239e {
box-shadow: 0 8px 24px rgb(203 35 158 / 0.35);
}
Medium Violet Red
#cb239e rgb(203, 35, 158) hsl(316, 71%, 47%) Medium Violet Red
#23cb50 rgb(35, 203, 80) hsl(136, 71%, 47%) Lime Green
#9ecb23 rgb(158, 203, 35) hsl(76, 71%, 47%) Yellow Green
#239ecb rgb(35, 158, 203) hsl(196, 71%, 47%) Bondi Blue