#a89939 Color
Color Codes | |
---|---|
Hex Code | #a89939 |
RGB Code | rgb(168, 153, 57) |
HSL Code | hsl(52, 49%, 44%) |
#a89939 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 153, 57); }
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(52, 49%, 44%); }
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 #a89939
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 153, 57, 10%) | #a899391a | |
rgb(168, 153, 57, 20%) | #a8993933 | |
rgb(168, 153, 57, 40%) | #a899394C | |
rgb(168, 153, 57, 60%) | #a8993999 | |
rgb(168, 153, 57, 80%) | #a89939CC | |
rgb(168, 153, 57, 100%) | #a89939FF |
Saturated and desaturated colors of #a89939
HSL Code | Preview |
---|---|
hsl(52, 10%, 44%) | |
hsl(52, 20%, 44%) | |
hsl(52, 40%, 44%) | |
hsl(52, 60%, 44%) | |
hsl(52, 80%, 44%) | |
hsl(52, 100%, 44%) |
#a89939 Color Usage In CSS
body { color: #a89939; } p { color: rgb(168, 153, 57); } header { border-bottom:1px solid #a89939; }