#c7e922 Color
Color Codes | |
---|---|
Hex Code | #c7e922 |
RGB Code | rgb(199, 233, 34) |
HSL Code | hsl(70, 82%, 52%) |
#c7e922 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 233, 34); }
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(70, 82%, 52%); }
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 #c7e922
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 233, 34, 10%) | #c7e9221a | |
rgb(199, 233, 34, 20%) | #c7e92233 | |
rgb(199, 233, 34, 40%) | #c7e9224C | |
rgb(199, 233, 34, 60%) | #c7e92299 | |
rgb(199, 233, 34, 80%) | #c7e922CC | |
rgb(199, 233, 34, 100%) | #c7e922FF |
Saturated and desaturated colors of #c7e922
HSL Code | Preview |
---|---|
hsl(70, 10%, 52%) | |
hsl(70, 20%, 52%) | |
hsl(70, 40%, 52%) | |
hsl(70, 60%, 52%) | |
hsl(70, 80%, 52%) | |
hsl(70, 100%, 52%) |
#c7e922 Color Usage In CSS
body { color: #c7e922; } p { color: rgb(199, 233, 34); } header { border-bottom:1px solid #c7e922; }