#a56c57 Color
Color Codes | |
---|---|
Hex Code | #a56c57 |
RGB Code | rgb(165, 108, 87) |
HSL Code | hsl(16, 31%, 49%) |
#a56c57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 108, 87); }
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(16, 31%, 49%); }
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 #a56c57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 108, 87, 10%) | #a56c571a | |
rgb(165, 108, 87, 20%) | #a56c5733 | |
rgb(165, 108, 87, 40%) | #a56c574C | |
rgb(165, 108, 87, 60%) | #a56c5799 | |
rgb(165, 108, 87, 80%) | #a56c57CC | |
rgb(165, 108, 87, 100%) | #a56c57FF |
Saturated and desaturated colors of #a56c57
HSL Code | Preview |
---|---|
hsl(16, 10%, 49%) | |
hsl(16, 20%, 49%) | |
hsl(16, 40%, 49%) | |
hsl(16, 60%, 49%) | |
hsl(16, 80%, 49%) | |
hsl(16, 100%, 49%) |
#a56c57 Color Usage In CSS
body { color: #a56c57; } p { color: rgb(165, 108, 87); } header { border-bottom:1px solid #a56c57; }