#a5867b Color
Color Codes | |
---|---|
Hex Code | #a5867b |
RGB Code | rgb(165, 134, 123) |
HSL Code | hsl(16, 19%, 56%) |
#a5867b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 134, 123); }
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, 19%, 56%); }
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 #a5867b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 134, 123, 10%) | #a5867b1a | |
rgb(165, 134, 123, 20%) | #a5867b33 | |
rgb(165, 134, 123, 40%) | #a5867b4C | |
rgb(165, 134, 123, 60%) | #a5867b99 | |
rgb(165, 134, 123, 80%) | #a5867bCC | |
rgb(165, 134, 123, 100%) | #a5867bFF |
Saturated and desaturated colors of #a5867b
HSL Code | Preview |
---|---|
hsl(16, 10%, 56%) | |
hsl(16, 20%, 56%) | |
hsl(16, 40%, 56%) | |
hsl(16, 60%, 56%) | |
hsl(16, 80%, 56%) | |
hsl(16, 100%, 56%) |
#a5867b Color Usage In CSS
body { color: #a5867b; } p { color: rgb(165, 134, 123); } header { border-bottom:1px solid #a5867b; }