#ddd8ba Color
Color Codes | |
---|---|
Hex Code | #ddd8ba |
RGB Code | rgb(221, 216, 186) |
HSL Code | hsl(51, 34%, 80%) |
#ddd8ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 216, 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(51, 34%, 80%); }
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 #ddd8ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 216, 186, 10%) | #ddd8ba1a | |
rgb(221, 216, 186, 20%) | #ddd8ba33 | |
rgb(221, 216, 186, 40%) | #ddd8ba4C | |
rgb(221, 216, 186, 60%) | #ddd8ba99 | |
rgb(221, 216, 186, 80%) | #ddd8baCC | |
rgb(221, 216, 186, 100%) | #ddd8baFF |
Saturated and desaturated colors of #ddd8ba
HSL Code | Preview |
---|---|
hsl(51, 10%, 80%) | |
hsl(51, 20%, 80%) | |
hsl(51, 40%, 80%) | |
hsl(51, 60%, 80%) | |
hsl(51, 80%, 80%) | |
hsl(51, 100%, 80%) |
#ddd8ba Color Usage In CSS
body { color: #ddd8ba; } p { color: rgb(221, 216, 186); } header { border-bottom:1px solid #ddd8ba; }