#c6a659 Color
Color Codes | |
---|---|
Hex Code | #c6a659 |
RGB Code | rgb(198, 166, 89) |
HSL Code | hsl(42, 49%, 56%) |
#c6a659 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 166, 89); }
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(42, 49%, 56%); }
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 #c6a659
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 166, 89, 10%) | #c6a6591a | |
rgb(198, 166, 89, 20%) | #c6a65933 | |
rgb(198, 166, 89, 40%) | #c6a6594C | |
rgb(198, 166, 89, 60%) | #c6a65999 | |
rgb(198, 166, 89, 80%) | #c6a659CC | |
rgb(198, 166, 89, 100%) | #c6a659FF |
Saturated and desaturated colors of #c6a659
HSL Code | Preview |
---|---|
hsl(42, 10%, 56%) | |
hsl(42, 20%, 56%) | |
hsl(42, 40%, 56%) | |
hsl(42, 60%, 56%) | |
hsl(42, 80%, 56%) | |
hsl(42, 100%, 56%) |
#c6a659 Color Usage In CSS
body { color: #c6a659; } p { color: rgb(198, 166, 89); } header { border-bottom:1px solid #c6a659; }