🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#2a1cee
/* 生成的CSS代码 */
color: #2a1cee;
background-color: #2a1cee;
border-color: #2a1cee;
/* 渐变背景 */
background: linear-gradient(135deg, #2a1cee 0%, #3f32ef 100%);
/* 导航颜色 */
.header{
background-color: #2a1cee;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #2a1cee0a;
border: 1px solid #2a1cee25;
}
/* 文字 / 边框颜色 */
.text-border{
color: #2a1cee;
border-color: #2a1cee;
}
/* 按钮样式 */
.btn{
background-color: #2a1cee;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #2A1CEE
RGB: rgb(42,28,238)
RGB 百分比: 16.5% / 11% / 93.3%
十进制: 42 / 28 / 238
CMYK: 83.5% / 89% / 6.7% / 0%
CMY: 83.5% / 89% / 6.7%
YIQ: 56.13
YUV: 56.13 / 89.5 / -12.39
网页安全色: #3333ff
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色