#d9c7ba Color
Color Codes | |
---|---|
Hex Code | #d9c7ba |
RGB Code | rgb(217, 199, 186) |
HSL Code | hsl(25, 29%, 79%) |
#d9c7ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 199, 186); }
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(25, 29%, 79%); }
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 #d9c7ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 199, 186, 10%) | #d9c7ba1a | |
rgb(217, 199, 186, 20%) | #d9c7ba33 | |
rgb(217, 199, 186, 40%) | #d9c7ba4C | |
rgb(217, 199, 186, 60%) | #d9c7ba99 | |
rgb(217, 199, 186, 80%) | #d9c7baCC | |
rgb(217, 199, 186, 100%) | #d9c7baFF |
Saturated and desaturated colors of #d9c7ba
HSL Code | Preview |
---|---|
hsl(25, 10%, 79%) | |
hsl(25, 20%, 79%) | |
hsl(25, 40%, 79%) | |
hsl(25, 60%, 79%) | |
hsl(25, 80%, 79%) | |
hsl(25, 100%, 79%) |
#d9c7ba Color Usage In CSS
body { color: #d9c7ba; } p { color: rgb(217, 199, 186); } header { border-bottom:1px solid #d9c7ba; }