#d8a49b Color
Color Codes | |
---|---|
Hex Code | #d8a49b |
RGB Code | rgb(216, 164, 155) |
HSL Code | hsl(9, 44%, 73%) |
#d8a49b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 164, 155); }
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(9, 44%, 73%); }
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 #d8a49b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 164, 155, 10%) | #d8a49b1a | |
rgb(216, 164, 155, 20%) | #d8a49b33 | |
rgb(216, 164, 155, 40%) | #d8a49b4C | |
rgb(216, 164, 155, 60%) | #d8a49b99 | |
rgb(216, 164, 155, 80%) | #d8a49bCC | |
rgb(216, 164, 155, 100%) | #d8a49bFF |
Saturated and desaturated colors of #d8a49b
HSL Code | Preview |
---|---|
hsl(9, 10%, 73%) | |
hsl(9, 20%, 73%) | |
hsl(9, 40%, 73%) | |
hsl(9, 60%, 73%) | |
hsl(9, 80%, 73%) | |
hsl(9, 100%, 73%) |
#d8a49b Color Usage In CSS
body { color: #d8a49b; } p { color: rgb(216, 164, 155); } header { border-bottom:1px solid #d8a49b; }