#fef8d4 Color
Color Codes | |
---|---|
Hex Code | #fef8d4 |
RGB Code | rgb(254, 248, 212) |
HSL Code | hsl(51, 95%, 91%) |
#fef8d4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(254, 248, 212); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(51, 95%, 91%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #fef8d4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(254, 248, 212, 10%) | #fef8d41a | |
rgb(254, 248, 212, 20%) | #fef8d433 | |
rgb(254, 248, 212, 40%) | #fef8d44C | |
rgb(254, 248, 212, 60%) | #fef8d499 | |
rgb(254, 248, 212, 80%) | #fef8d4CC | |
rgb(254, 248, 212, 100%) | #fef8d4FF |
Saturated and desaturated colors of #fef8d4
HSL Code | Preview |
---|---|
hsl(51, 10%, 91%) | |
hsl(51, 20%, 91%) | |
hsl(51, 40%, 91%) | |
hsl(51, 60%, 91%) | |
hsl(51, 80%, 91%) | |
hsl(51, 100%, 91%) |
#fef8d4 Color Usage In CSS
body { color: #fef8d4; } p { color: rgb(254, 248, 212); } header { border-bottom:1px solid #fef8d4; }