#cddc3c Color
Color Codes | |
---|---|
Hex Code | #cddc3c |
RGB Code | rgb(205, 220, 60) |
HSL Code | hsl(66, 70%, 55%) |
#cddc3c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 220, 60); }
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(66, 70%, 55%); }
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 #cddc3c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 220, 60, 10%) | #cddc3c1a | |
rgb(205, 220, 60, 20%) | #cddc3c33 | |
rgb(205, 220, 60, 40%) | #cddc3c4C | |
rgb(205, 220, 60, 60%) | #cddc3c99 | |
rgb(205, 220, 60, 80%) | #cddc3cCC | |
rgb(205, 220, 60, 100%) | #cddc3cFF |
Saturated and desaturated colors of #cddc3c
HSL Code | Preview |
---|---|
hsl(66, 10%, 55%) | |
hsl(66, 20%, 55%) | |
hsl(66, 40%, 55%) | |
hsl(66, 60%, 55%) | |
hsl(66, 80%, 55%) | |
hsl(66, 100%, 55%) |
#cddc3c Color Usage In CSS
body { color: #cddc3c; } p { color: rgb(205, 220, 60); } header { border-bottom:1px solid #cddc3c; }