#ccf92e Color
Color Codes | |
---|---|
Hex Code | #ccf92e |
RGB Code | rgb(204, 249, 46) |
HSL Code | hsl(73, 94%, 58%) |
#ccf92e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 249, 46); }
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(73, 94%, 58%); }
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 #ccf92e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 249, 46, 10%) | #ccf92e1a | |
rgb(204, 249, 46, 20%) | #ccf92e33 | |
rgb(204, 249, 46, 40%) | #ccf92e4C | |
rgb(204, 249, 46, 60%) | #ccf92e99 | |
rgb(204, 249, 46, 80%) | #ccf92eCC | |
rgb(204, 249, 46, 100%) | #ccf92eFF |
Saturated and desaturated colors of #ccf92e
HSL Code | Preview |
---|---|
hsl(73, 10%, 58%) | |
hsl(73, 20%, 58%) | |
hsl(73, 40%, 58%) | |
hsl(73, 60%, 58%) | |
hsl(73, 80%, 58%) | |
hsl(73, 100%, 58%) |
#ccf92e Color Usage In CSS
body { color: #ccf92e; } p { color: rgb(204, 249, 46); } header { border-bottom:1px solid #ccf92e; }