🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#DC74EB
/* 生成的CSS代码 */
color: #DC74EB;
background-color: #DC74EB;
border-color: #DC74EB;
/* 渐变背景 */
background: linear-gradient(135deg, #DC74EB 0%, #df81ed 100%);
/* 导航颜色 */
.header{
background-color: #DC74EB;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #DC74EB0a;
border: 1px solid #DC74EB25;
}
/* 文字 / 边框颜色 */
.text-border{
color: #DC74EB;
border-color: #DC74EB;
}
/* 按钮样式 */
.btn{
background-color: #DC74EB;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #DC74EB
RGB: rgb(220,116,235)
RGB 百分比: 86.3% / 45.5% / 92.2%
十进制: 220 / 116 / 235
CMYK: 13.7% / 54.5% / 7.8% / 0%
CMY: 13.7% / 54.5% / 7.8%
YIQ: 160.66
YUV: 160.66 / 36.6 / 52.06
网页安全色: #cc66ff
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色