#a3915f Color
Color Codes | |
---|---|
Hex Code | #a3915f |
RGB Code | rgb(163, 145, 95) |
HSL Code | hsl(44, 27%, 51%) |
#a3915f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 145, 95); }
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(44, 27%, 51%); }
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 #a3915f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 145, 95, 10%) | #a3915f1a | |
rgb(163, 145, 95, 20%) | #a3915f33 | |
rgb(163, 145, 95, 40%) | #a3915f4C | |
rgb(163, 145, 95, 60%) | #a3915f99 | |
rgb(163, 145, 95, 80%) | #a3915fCC | |
rgb(163, 145, 95, 100%) | #a3915fFF |
Saturated and desaturated colors of #a3915f
HSL Code | Preview |
---|---|
hsl(44, 10%, 51%) | |
hsl(44, 20%, 51%) | |
hsl(44, 40%, 51%) | |
hsl(44, 60%, 51%) | |
hsl(44, 80%, 51%) | |
hsl(44, 100%, 51%) |
#a3915f Color Usage In CSS
body { color: #a3915f; } p { color: rgb(163, 145, 95); } header { border-bottom:1px solid #a3915f; }