#cdd945 Color
Color Codes | |
---|---|
Hex Code | #cdd945 |
RGB Code | rgb(205, 217, 69) |
HSL Code | hsl(65, 66%, 56%) |
#cdd945 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 217, 69); }
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, 66%, 56%); }
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 #cdd945
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 217, 69, 10%) | #cdd9451a | |
rgb(205, 217, 69, 20%) | #cdd94533 | |
rgb(205, 217, 69, 40%) | #cdd9454C | |
rgb(205, 217, 69, 60%) | #cdd94599 | |
rgb(205, 217, 69, 80%) | #cdd945CC | |
rgb(205, 217, 69, 100%) | #cdd945FF |
Saturated and desaturated colors of #cdd945
HSL Code | Preview |
---|---|
hsl(65, 10%, 56%) | |
hsl(65, 20%, 56%) | |
hsl(65, 40%, 56%) | |
hsl(65, 60%, 56%) | |
hsl(65, 80%, 56%) | |
hsl(65, 100%, 56%) |
#cdd945 Color Usage In CSS
body { color: #cdd945; } p { color: rgb(205, 217, 69); } header { border-bottom:1px solid #cdd945; }