#a1958a Color
Color Codes | |
---|---|
Hex Code | #a1958a |
RGB Code | rgb(161, 149, 138) |
HSL Code | hsl(29, 11%, 59%) |
#a1958a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 149, 138); }
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(29, 11%, 59%); }
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 #a1958a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 149, 138, 10%) | #a1958a1a | |
rgb(161, 149, 138, 20%) | #a1958a33 | |
rgb(161, 149, 138, 40%) | #a1958a4C | |
rgb(161, 149, 138, 60%) | #a1958a99 | |
rgb(161, 149, 138, 80%) | #a1958aCC | |
rgb(161, 149, 138, 100%) | #a1958aFF |
Saturated and desaturated colors of #a1958a
HSL Code | Preview |
---|---|
hsl(29, 10%, 59%) | |
hsl(29, 20%, 59%) | |
hsl(29, 40%, 59%) | |
hsl(29, 60%, 59%) | |
hsl(29, 80%, 59%) | |
hsl(29, 100%, 59%) |
#a1958a Color Usage In CSS
body { color: #a1958a; } p { color: rgb(161, 149, 138); } header { border-bottom:1px solid #a1958a; }