#7cd831 Color
Color Codes | |
---|---|
Hex Code | #7cd831 |
RGB Code | rgb(124, 216, 49) |
HSL Code | hsl(93, 68%, 52%) |
#7cd831 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 216, 49); }
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(93, 68%, 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 #7cd831
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 216, 49, 10%) | #7cd8311a | |
rgb(124, 216, 49, 20%) | #7cd83133 | |
rgb(124, 216, 49, 40%) | #7cd8314C | |
rgb(124, 216, 49, 60%) | #7cd83199 | |
rgb(124, 216, 49, 80%) | #7cd831CC | |
rgb(124, 216, 49, 100%) | #7cd831FF |
Saturated and desaturated colors of #7cd831
HSL Code | Preview |
---|---|
hsl(93, 10%, 52%) | |
hsl(93, 20%, 52%) | |
hsl(93, 40%, 52%) | |
hsl(93, 60%, 52%) | |
hsl(93, 80%, 52%) | |
hsl(93, 100%, 52%) |
#7cd831 Color Usage In CSS
body { color: #7cd831; } p { color: rgb(124, 216, 49); } header { border-bottom:1px solid #7cd831; }