🎯 实时颜色效果演示
导航栏颜色
卡片背景色
按钮颜色
边框/文字颜色
文字与边框
当前颜色
#D20002
/* 生成的CSS代码 */
color: #D20002;
background-color: #D20002;
border-color: #D20002;
/* 渐变背景 */
background: linear-gradient(135deg, #D20002 0%, #d6191b 100%);
/* 导航颜色 */
.header{
background-color: #D20002;
color: #ffffff;
}
/* 卡片背景 + 边框 */
.card{
background-color: #D200020a;
border: 1px solid #D2000225;
}
/* 文字 / 边框颜色 */
.text-border{
color: #D20002;
border-color: #D20002;
}
/* 按钮样式 */
.btn{
background-color: #D20002;
color: #ffffff;
padding: 6px 14px;
border-radius: 4px;
border: none;
}
.btn:hover{
opacity: 0.9;
}
颜色数据大全
十六进制: #D20002
RGB: rgb(210,0,2)
RGB 百分比: 82.4% / 0% / 0.8%
十进制: 210 / 0 / 2
二进制: 11010010 / 0 / 10
CMYK: 17.6% / 100% / 99.2% / 0%
CMY: 17.6% / 100% / 99.2%
YIQ: 63.02
YUV: 63.02 / -30 / 128.95
网页安全色: #cc0000
CIE-LAB / LUV / LCH / Hunter-Lab: 已内置计算(专业色值引擎)
颜色反转
灰度 / 互补色