#c3aa4a Color
Color Codes | |
---|---|
Hex Code | #c3aa4a |
RGB Code | rgb(195, 170, 74) |
HSL Code | hsl(48, 50%, 53%) |
#c3aa4a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 170, 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(48, 50%, 53%); }
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 #c3aa4a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 170, 74, 10%) | #c3aa4a1a | |
rgb(195, 170, 74, 20%) | #c3aa4a33 | |
rgb(195, 170, 74, 40%) | #c3aa4a4C | |
rgb(195, 170, 74, 60%) | #c3aa4a99 | |
rgb(195, 170, 74, 80%) | #c3aa4aCC | |
rgb(195, 170, 74, 100%) | #c3aa4aFF |
Saturated and desaturated colors of #c3aa4a
HSL Code | Preview |
---|---|
hsl(48, 10%, 53%) | |
hsl(48, 20%, 53%) | |
hsl(48, 40%, 53%) | |
hsl(48, 60%, 53%) | |
hsl(48, 80%, 53%) | |
hsl(48, 100%, 53%) |
#c3aa4a Color Usage In CSS
body { color: #c3aa4a; } p { color: rgb(195, 170, 74); } header { border-bottom:1px solid #c3aa4a; }