#c2a755 Color
Color Codes | |
---|---|
Hex Code | #c2a755 |
RGB Code | rgb(194, 167, 85) |
HSL Code | hsl(45, 47%, 55%) |
#c2a755 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 167, 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(45, 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 #c2a755
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 167, 85, 10%) | #c2a7551a | |
rgb(194, 167, 85, 20%) | #c2a75533 | |
rgb(194, 167, 85, 40%) | #c2a7554C | |
rgb(194, 167, 85, 60%) | #c2a75599 | |
rgb(194, 167, 85, 80%) | #c2a755CC | |
rgb(194, 167, 85, 100%) | #c2a755FF |
Saturated and desaturated colors of #c2a755
HSL Code | Preview |
---|---|
hsl(45, 10%, 55%) | |
hsl(45, 20%, 55%) | |
hsl(45, 40%, 55%) | |
hsl(45, 60%, 55%) | |
hsl(45, 80%, 55%) | |
hsl(45, 100%, 55%) |
#c2a755 Color Usage In CSS
body { color: #c2a755; } p { color: rgb(194, 167, 85); } header { border-bottom:1px solid #c2a755; }