#cdc670 Color
Color Codes | |
---|---|
Hex Code | #cdc670 |
RGB Code | rgb(205, 198, 112) |
HSL Code | hsl(55, 48%, 62%) |
#cdc670 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 198, 112); }
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(55, 48%, 62%); }
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 #cdc670
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 198, 112, 10%) | #cdc6701a | |
rgb(205, 198, 112, 20%) | #cdc67033 | |
rgb(205, 198, 112, 40%) | #cdc6704C | |
rgb(205, 198, 112, 60%) | #cdc67099 | |
rgb(205, 198, 112, 80%) | #cdc670CC | |
rgb(205, 198, 112, 100%) | #cdc670FF |
Saturated and desaturated colors of #cdc670
HSL Code | Preview |
---|---|
hsl(55, 10%, 62%) | |
hsl(55, 20%, 62%) | |
hsl(55, 40%, 62%) | |
hsl(55, 60%, 62%) | |
hsl(55, 80%, 62%) | |
hsl(55, 100%, 62%) |
#cdc670 Color Usage In CSS
body { color: #cdc670; } p { color: rgb(205, 198, 112); } header { border-bottom:1px solid #cdc670; }