#ddc3a7 Color
Color Codes | |
---|---|
Hex Code | #ddc3a7 |
RGB Code | rgb(221, 195, 167) |
HSL Code | hsl(31, 44%, 76%) |
#ddc3a7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 195, 167); }
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(31, 44%, 76%); }
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 #ddc3a7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 195, 167, 10%) | #ddc3a71a | |
rgb(221, 195, 167, 20%) | #ddc3a733 | |
rgb(221, 195, 167, 40%) | #ddc3a74C | |
rgb(221, 195, 167, 60%) | #ddc3a799 | |
rgb(221, 195, 167, 80%) | #ddc3a7CC | |
rgb(221, 195, 167, 100%) | #ddc3a7FF |
Saturated and desaturated colors of #ddc3a7
HSL Code | Preview |
---|---|
hsl(31, 10%, 76%) | |
hsl(31, 20%, 76%) | |
hsl(31, 40%, 76%) | |
hsl(31, 60%, 76%) | |
hsl(31, 80%, 76%) | |
hsl(31, 100%, 76%) |
#ddc3a7 Color Usage In CSS
body { color: #ddc3a7; } p { color: rgb(221, 195, 167); } header { border-bottom:1px solid #ddc3a7; }