#c6ad6c Color
Color Codes | |
---|---|
Hex Code | #c6ad6c |
RGB Code | rgb(198, 173, 108) |
HSL Code | hsl(43, 44%, 60%) |
#c6ad6c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 173, 108); }
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(43, 44%, 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 #c6ad6c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 173, 108, 10%) | #c6ad6c1a | |
rgb(198, 173, 108, 20%) | #c6ad6c33 | |
rgb(198, 173, 108, 40%) | #c6ad6c4C | |
rgb(198, 173, 108, 60%) | #c6ad6c99 | |
rgb(198, 173, 108, 80%) | #c6ad6cCC | |
rgb(198, 173, 108, 100%) | #c6ad6cFF |
Saturated and desaturated colors of #c6ad6c
HSL Code | Preview |
---|---|
hsl(43, 10%, 60%) | |
hsl(43, 20%, 60%) | |
hsl(43, 40%, 60%) | |
hsl(43, 60%, 60%) | |
hsl(43, 80%, 60%) | |
hsl(43, 100%, 60%) |
#c6ad6c Color Usage In CSS
body { color: #c6ad6c; } p { color: rgb(198, 173, 108); } header { border-bottom:1px solid #c6ad6c; }