🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#4e46ab
/* 生成的CSS代码 */
color: #4e46ab;
background-color: #4e46ab;
border-color: #4e46ab;
/* 渐变背景 */
background: linear-gradient(135deg, #4e46ab 0%, #5f58b3 100%);
/* 导航颜色 */
.header{
background-color: #4e46ab;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #4e46ab0a;
border: 1px solid #4e46ab25;
}
/* 文字 / 边框颜色 */
.text-border{
color: #4e46ab;
border-color: #4e46ab;
}
/* 按钮样式 */
.btn{
background-color: #4e46ab;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #4E46AB
RGB: rgb(78,70,171)
RGB 百分比: 30.6% / 27.5% / 67.1%
十进制: 78 / 70 / 171
CMYK: 69.4% / 72.5% / 32.9% / 0%
CMY: 69.4% / 72.5% / 32.9%
YIQ: 83.91
YUV: 83.91 / 42.86 / -5.18
网页安全色: #663399
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色