#c1aa55 Color
Color Codes | |
---|---|
Hex Code | #c1aa55 |
RGB Code | rgb(193, 170, 85) |
HSL Code | hsl(47, 47%, 55%) |
#c1aa55 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 170, 85); }
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(47, 47%, 55%); }
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 #c1aa55
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 170, 85, 10%) | #c1aa551a | |
rgb(193, 170, 85, 20%) | #c1aa5533 | |
rgb(193, 170, 85, 40%) | #c1aa554C | |
rgb(193, 170, 85, 60%) | #c1aa5599 | |
rgb(193, 170, 85, 80%) | #c1aa55CC | |
rgb(193, 170, 85, 100%) | #c1aa55FF |
Saturated and desaturated colors of #c1aa55
HSL Code | Preview |
---|---|
hsl(47, 10%, 55%) | |
hsl(47, 20%, 55%) | |
hsl(47, 40%, 55%) | |
hsl(47, 60%, 55%) | |
hsl(47, 80%, 55%) | |
hsl(47, 100%, 55%) |
#c1aa55 Color Usage In CSS
body { color: #c1aa55; } p { color: rgb(193, 170, 85); } header { border-bottom:1px solid #c1aa55; }