#c4a16d Color
Color Codes | |
---|---|
Hex Code | #c4a16d |
RGB Code | rgb(196, 161, 109) |
HSL Code | hsl(36, 42%, 60%) |
#c4a16d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 161, 109); }
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(36, 42%, 60%); }
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 #c4a16d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 161, 109, 10%) | #c4a16d1a | |
rgb(196, 161, 109, 20%) | #c4a16d33 | |
rgb(196, 161, 109, 40%) | #c4a16d4C | |
rgb(196, 161, 109, 60%) | #c4a16d99 | |
rgb(196, 161, 109, 80%) | #c4a16dCC | |
rgb(196, 161, 109, 100%) | #c4a16dFF |
Saturated and desaturated colors of #c4a16d
HSL Code | Preview |
---|---|
hsl(36, 10%, 60%) | |
hsl(36, 20%, 60%) | |
hsl(36, 40%, 60%) | |
hsl(36, 60%, 60%) | |
hsl(36, 80%, 60%) | |
hsl(36, 100%, 60%) |
#c4a16d Color Usage In CSS
body { color: #c4a16d; } p { color: rgb(196, 161, 109); } header { border-bottom:1px solid #c4a16d; }