#ad8c87 Color
Color Codes | |
---|---|
Hex Code | #ad8c87 |
RGB Code | rgb(173, 140, 135) |
HSL Code | hsl(8, 19%, 60%) |
#ad8c87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 140, 135); }
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(8, 19%, 60%); }
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 #ad8c87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 140, 135, 10%) | #ad8c871a | |
rgb(173, 140, 135, 20%) | #ad8c8733 | |
rgb(173, 140, 135, 40%) | #ad8c874C | |
rgb(173, 140, 135, 60%) | #ad8c8799 | |
rgb(173, 140, 135, 80%) | #ad8c87CC | |
rgb(173, 140, 135, 100%) | #ad8c87FF |
Saturated and desaturated colors of #ad8c87
HSL Code | Preview |
---|---|
hsl(8, 10%, 60%) | |
hsl(8, 20%, 60%) | |
hsl(8, 40%, 60%) | |
hsl(8, 60%, 60%) | |
hsl(8, 80%, 60%) | |
hsl(8, 100%, 60%) |
#ad8c87 Color Usage In CSS
body { color: #ad8c87; } p { color: rgb(173, 140, 135); } header { border-bottom:1px solid #ad8c87; }