🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#874DF2
/* 生成的CSS代码 */
color: #874DF2;
background-color: #874DF2;
border-color: #874DF2;
/* 渐变背景 */
background: linear-gradient(135deg, #874DF2 0%, #935ef3 100%);
/* 导航颜色 */
.header{
background-color: #874DF2;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #874DF20a;
border: 1px solid #874DF225;
}
/* 文字 / 边框颜色 */
.text-border{
color: #874DF2;
border-color: #874DF2;
}
/* 按钮样式 */
.btn{
background-color: #874DF2;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #874DF2
RGB: rgb(135,77,242)
RGB 百分比: 52.9% / 30.2% / 94.9%
十进制: 135 / 77 / 242
CMYK: 47.1% / 69.8% / 5.1% / 0%
CMY: 47.1% / 69.8% / 5.1%
YIQ: 113.15
YUV: 113.15 / 63.41 / 19.17
网页安全色: #9966ff
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色