#a6925c Color
Color Codes | |
---|---|
Hex Code | #a6925c |
RGB Code | rgb(166, 146, 92) |
HSL Code | hsl(44, 29%, 51%) |
#a6925c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 146, 92); }
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, 29%, 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 #a6925c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 146, 92, 10%) | #a6925c1a | |
rgb(166, 146, 92, 20%) | #a6925c33 | |
rgb(166, 146, 92, 40%) | #a6925c4C | |
rgb(166, 146, 92, 60%) | #a6925c99 | |
rgb(166, 146, 92, 80%) | #a6925cCC | |
rgb(166, 146, 92, 100%) | #a6925cFF |
Saturated and desaturated colors of #a6925c
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%) |
#a6925c Color Usage In CSS
body { color: #a6925c; } p { color: rgb(166, 146, 92); } header { border-bottom:1px solid #a6925c; }