#a5b18f Color
Color Codes | |
---|---|
Hex Code | #a5b18f |
RGB Code | rgb(165, 177, 143) |
HSL Code | hsl(81, 18%, 63%) |
#a5b18f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 177, 143); }
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(81, 18%, 63%); }
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 #a5b18f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 177, 143, 10%) | #a5b18f1a | |
rgb(165, 177, 143, 20%) | #a5b18f33 | |
rgb(165, 177, 143, 40%) | #a5b18f4C | |
rgb(165, 177, 143, 60%) | #a5b18f99 | |
rgb(165, 177, 143, 80%) | #a5b18fCC | |
rgb(165, 177, 143, 100%) | #a5b18fFF |
Saturated and desaturated colors of #a5b18f
HSL Code | Preview |
---|---|
hsl(81, 10%, 63%) | |
hsl(81, 20%, 63%) | |
hsl(81, 40%, 63%) | |
hsl(81, 60%, 63%) | |
hsl(81, 80%, 63%) | |
hsl(81, 100%, 63%) |
#a5b18f Color Usage In CSS
body { color: #a5b18f; } p { color: rgb(165, 177, 143); } header { border-bottom:1px solid #a5b18f; }