#cddc14 Color
Color Codes | |
---|---|
Hex Code | #cddc14 |
RGB Code | rgb(205, 220, 20) |
HSL Code | hsl(65, 83%, 47%) |
#cddc14 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 220, 20); }
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, 83%, 47%); }
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 #cddc14
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 220, 20, 10%) | #cddc141a | |
rgb(205, 220, 20, 20%) | #cddc1433 | |
rgb(205, 220, 20, 40%) | #cddc144C | |
rgb(205, 220, 20, 60%) | #cddc1499 | |
rgb(205, 220, 20, 80%) | #cddc14CC | |
rgb(205, 220, 20, 100%) | #cddc14FF |
Saturated and desaturated colors of #cddc14
HSL Code | Preview |
---|---|
hsl(65, 10%, 47%) | |
hsl(65, 20%, 47%) | |
hsl(65, 40%, 47%) | |
hsl(65, 60%, 47%) | |
hsl(65, 80%, 47%) | |
hsl(65, 100%, 47%) |
#cddc14 Color Usage In CSS
body { color: #cddc14; } p { color: rgb(205, 220, 20); } header { border-bottom:1px solid #cddc14; }