#c8c688 Color
Color Codes | |
---|---|
Hex Code | #c8c688 |
RGB Code | rgb(200, 198, 136) |
HSL Code | hsl(58, 37%, 66%) |
#c8c688 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 198, 136); }
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(58, 37%, 66%); }
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 #c8c688
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 198, 136, 10%) | #c8c6881a | |
rgb(200, 198, 136, 20%) | #c8c68833 | |
rgb(200, 198, 136, 40%) | #c8c6884C | |
rgb(200, 198, 136, 60%) | #c8c68899 | |
rgb(200, 198, 136, 80%) | #c8c688CC | |
rgb(200, 198, 136, 100%) | #c8c688FF |
Saturated and desaturated colors of #c8c688
HSL Code | Preview |
---|---|
hsl(58, 10%, 66%) | |
hsl(58, 20%, 66%) | |
hsl(58, 40%, 66%) | |
hsl(58, 60%, 66%) | |
hsl(58, 80%, 66%) | |
hsl(58, 100%, 66%) |
#c8c688 Color Usage In CSS
body { color: #c8c688; } p { color: rgb(200, 198, 136); } header { border-bottom:1px solid #c8c688; }