#d8e8a8 Color
Color Codes | |
---|---|
Hex Code | #d8e8a8 |
RGB Code | rgb(216, 232, 168) |
HSL Code | hsl(75, 58%, 78%) |
#d8e8a8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 232, 168); }
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(75, 58%, 78%); }
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 #d8e8a8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 232, 168, 10%) | #d8e8a81a | |
rgb(216, 232, 168, 20%) | #d8e8a833 | |
rgb(216, 232, 168, 40%) | #d8e8a84C | |
rgb(216, 232, 168, 60%) | #d8e8a899 | |
rgb(216, 232, 168, 80%) | #d8e8a8CC | |
rgb(216, 232, 168, 100%) | #d8e8a8FF |
Saturated and desaturated colors of #d8e8a8
HSL Code | Preview |
---|---|
hsl(75, 10%, 78%) | |
hsl(75, 20%, 78%) | |
hsl(75, 40%, 78%) | |
hsl(75, 60%, 78%) | |
hsl(75, 80%, 78%) | |
hsl(75, 100%, 78%) |
#d8e8a8 Color Usage In CSS
body { color: #d8e8a8; } p { color: rgb(216, 232, 168); } header { border-bottom:1px solid #d8e8a8; }