🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#40468D
/* 生成的CSS代码 */
color: #40468D;
background-color: #40468D;
border-color: #40468D;
/* 渐变背景 */
background: linear-gradient(135deg, #40468D 0%, #535898 100%);
/* 导航颜色 */
.header{
background-color: #40468D;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #40468D0a;
border: 1px solid #40468D25;
}
/* 文字 / 边框颜色 */
.text-border{
color: #40468D;
border-color: #40468D;
}
/* 按钮样式 */
.btn{
background-color: #40468D;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #40468D
RGB: rgb(64,70,141)
RGB 百分比: 25.1% / 27.5% / 55.3%
十进制: 64 / 70 / 141
CMYK: 74.9% / 72.5% / 44.7% / 0%
CMY: 74.9% / 72.5% / 44.7%
YIQ: 76.3
YUV: 76.3 / 31.84 / -10.79
网页安全色: #333399
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色