#a56c4a Color
Color Codes | |
---|---|
Hex Code | #a56c4a |
RGB Code | rgb(165, 108, 74) |
HSL Code | hsl(22, 38%, 47%) |
#a56c4a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 108, 74); }
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(22, 38%, 47%); }
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 #a56c4a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 108, 74, 10%) | #a56c4a1a | |
rgb(165, 108, 74, 20%) | #a56c4a33 | |
rgb(165, 108, 74, 40%) | #a56c4a4C | |
rgb(165, 108, 74, 60%) | #a56c4a99 | |
rgb(165, 108, 74, 80%) | #a56c4aCC | |
rgb(165, 108, 74, 100%) | #a56c4aFF |
Saturated and desaturated colors of #a56c4a
HSL Code | Preview |
---|---|
hsl(22, 10%, 47%) | |
hsl(22, 20%, 47%) | |
hsl(22, 40%, 47%) | |
hsl(22, 60%, 47%) | |
hsl(22, 80%, 47%) | |
hsl(22, 100%, 47%) |
#a56c4a Color Usage In CSS
body { color: #a56c4a; } p { color: rgb(165, 108, 74); } header { border-bottom:1px solid #a56c4a; }