🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#511DFD
/* 生成的CSS代码 */
color: #511DFD;
background-color: #511DFD;
border-color: #511DFD;
/* 渐变背景 */
background: linear-gradient(135deg, #511DFD 0%, #6233fd 100%);
/* 导航颜色 */
.header{
background-color: #511DFD;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #511DFD0a;
border: 1px solid #511DFD25;
}
/* 文字 / 边框颜色 */
.text-border{
color: #511DFD;
border-color: #511DFD;
}
/* 按钮样式 */
.btn{
background-color: #511DFD;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #511DFD
RGB: rgb(81,29,253)
RGB 百分比: 31.8% / 11.4% / 99.2%
十进制: 81 / 29 / 253
CMYK: 68.2% / 88.6% / 0.8% / 0%
CMY: 68.2% / 88.6% / 0.8%
YIQ: 70.08
YUV: 70.08 / 90.02 / 9.58
网页安全色: #6633ff
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色