#a1765a Color
Color Codes | |
---|---|
Hex Code | #a1765a |
RGB Code | rgb(161, 118, 90) |
HSL Code | hsl(24, 28%, 49%) |
#a1765a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 118, 90); }
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(24, 28%, 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 #a1765a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 118, 90, 10%) | #a1765a1a | |
rgb(161, 118, 90, 20%) | #a1765a33 | |
rgb(161, 118, 90, 40%) | #a1765a4C | |
rgb(161, 118, 90, 60%) | #a1765a99 | |
rgb(161, 118, 90, 80%) | #a1765aCC | |
rgb(161, 118, 90, 100%) | #a1765aFF |
Saturated and desaturated colors of #a1765a
HSL Code | Preview |
---|---|
hsl(24, 10%, 49%) | |
hsl(24, 20%, 49%) | |
hsl(24, 40%, 49%) | |
hsl(24, 60%, 49%) | |
hsl(24, 80%, 49%) | |
hsl(24, 100%, 49%) |
#a1765a Color Usage In CSS
body { color: #a1765a; } p { color: rgb(161, 118, 90); } header { border-bottom:1px solid #a1765a; }