#a5938d Color
Color Codes | |
---|---|
Hex Code | #a5938d |
RGB Code | rgb(165, 147, 141) |
HSL Code | hsl(15, 12%, 60%) |
#a5938d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 147, 141); }
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(15, 12%, 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 #a5938d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 147, 141, 10%) | #a5938d1a | |
rgb(165, 147, 141, 20%) | #a5938d33 | |
rgb(165, 147, 141, 40%) | #a5938d4C | |
rgb(165, 147, 141, 60%) | #a5938d99 | |
rgb(165, 147, 141, 80%) | #a5938dCC | |
rgb(165, 147, 141, 100%) | #a5938dFF |
Saturated and desaturated colors of #a5938d
HSL Code | Preview |
---|---|
hsl(15, 10%, 60%) | |
hsl(15, 20%, 60%) | |
hsl(15, 40%, 60%) | |
hsl(15, 60%, 60%) | |
hsl(15, 80%, 60%) | |
hsl(15, 100%, 60%) |
#a5938d Color Usage In CSS
body { color: #a5938d; } p { color: rgb(165, 147, 141); } header { border-bottom:1px solid #a5938d; }