#cdd670 Color
Color Codes | |
---|---|
Hex Code | #cdd670 |
RGB Code | rgb(205, 214, 112) |
HSL Code | hsl(65, 55%, 64%) |
#cdd670 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 214, 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(65, 55%, 64%); }
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 #cdd670
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 214, 112, 10%) | #cdd6701a | |
rgb(205, 214, 112, 20%) | #cdd67033 | |
rgb(205, 214, 112, 40%) | #cdd6704C | |
rgb(205, 214, 112, 60%) | #cdd67099 | |
rgb(205, 214, 112, 80%) | #cdd670CC | |
rgb(205, 214, 112, 100%) | #cdd670FF |
Saturated and desaturated colors of #cdd670
HSL Code | Preview |
---|---|
hsl(65, 10%, 64%) | |
hsl(65, 20%, 64%) | |
hsl(65, 40%, 64%) | |
hsl(65, 60%, 64%) | |
hsl(65, 80%, 64%) | |
hsl(65, 100%, 64%) |
#cdd670 Color Usage In CSS
body { color: #cdd670; } p { color: rgb(205, 214, 112); } header { border-bottom:1px solid #cdd670; }