🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#9E2DB2
/* 生成的CSS代码 */
color: #9E2DB2;
background-color: #9E2DB2;
border-color: #9E2DB2;
/* 渐变背景 */
background: linear-gradient(135deg, #9E2DB2 0%, #a742b9 100%);
/* 导航颜色 */
.header{
background-color: #9E2DB2;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #9E2DB20a;
border: 1px solid #9E2DB225;
}
/* 文字 / 边框颜色 */
.text-border{
color: #9E2DB2;
border-color: #9E2DB2;
}
/* 按钮样式 */
.btn{
background-color: #9E2DB2;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #9E2DB2
RGB: rgb(158,45,178)
RGB 百分比: 62% / 17.6% / 69.8%
十进制: 158 / 45 / 178
CMYK: 38% / 82.4% / 30.2% / 0%
CMY: 38% / 82.4% / 30.2%
YIQ: 93.95
YUV: 93.95 / 41.38 / 56.2
网页安全色: #993399
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色