#d8cc94 Color
Color Codes | |
---|---|
Hex Code | #d8cc94 |
RGB Code | rgb(216, 204, 148) |
HSL Code | hsl(49, 47%, 71%) |
#d8cc94 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 204, 148); }
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(49, 47%, 71%); }
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 #d8cc94
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 204, 148, 10%) | #d8cc941a | |
rgb(216, 204, 148, 20%) | #d8cc9433 | |
rgb(216, 204, 148, 40%) | #d8cc944C | |
rgb(216, 204, 148, 60%) | #d8cc9499 | |
rgb(216, 204, 148, 80%) | #d8cc94CC | |
rgb(216, 204, 148, 100%) | #d8cc94FF |
Saturated and desaturated colors of #d8cc94
HSL Code | Preview |
---|---|
hsl(49, 10%, 71%) | |
hsl(49, 20%, 71%) | |
hsl(49, 40%, 71%) | |
hsl(49, 60%, 71%) | |
hsl(49, 80%, 71%) | |
hsl(49, 100%, 71%) |
#d8cc94 Color Usage In CSS
body { color: #d8cc94; } p { color: rgb(216, 204, 148); } header { border-bottom:1px solid #d8cc94; }