#FFEDA2
#ffeda2 ≈ Vanilla
#ffeda2 属于黄系颜色(明度:较高,饱和度:中等)。 在 RGB 模型中,它由 100% 红、92.94% 绿和 63.53% 蓝组成;采用 CMYK 印刷时需要 0% 青、7.06% 品红、36.47% 黄和 0% 黑。 在 HSL 中,它的色相角为 48.39°,饱和度为 100%,明度为 81.76%。 这是一种暖色,常让人联想到乐观、醒目和喜悦。 设计师常把它用于强调和警示、儿童产品和柔和的马卡龙配色。 在此颜色上使用黑色文字时,对比度为 17.89:1(WCAG AAA)。 最接近的命名颜色是 Vanilla(#f3e5ab),ΔE 为 3.78。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.8444 |
暗调
#ffeda2 逐步混入黑色。
亮调
#ffeda2 逐步混入白色。
灰调
#ffeda2 逐步混入灰色。
清晰易读的文字
1.17:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
清晰易读的文字
17.89:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-ffeda2 {
color: #ffeda2;
}
背景
.bg-ffeda2 {
background-color: #ffeda2;
color: #000000;
}
边框
.border-ffeda2 {
border: 2px solid #ffeda2;
}
CSS 变量
:root {
--color-primary: #ffeda2;
--color-primary-rgb: 255 237 162;
--color-primary-hsl: 48 100% 82%;
}
渐变
.gradient-ffeda2 {
background: linear-gradient(135deg, #ffeda2, #e2ffa2);
}
彩色阴影
.shadow-ffeda2 {
box-shadow: 0 8px 24px rgb(255 237 162 / 0.35);
}
Vanilla
#ffeda2 rgb(255, 237, 162) hsl(48, 100%, 82%) Vanilla
#a2b4ff rgb(162, 180, 255) hsl(228, 100%, 82%) Wild Blue Yonder
#a2ffed rgb(162, 255, 237) hsl(168, 100%, 82%) Magic Mint
#eda2ff rgb(237, 162, 255) hsl(288, 100%, 82%) Mauve