#7cb504 Color
Color Codes | |
---|---|
Hex Code | #7cb504 |
RGB Code | rgb(124, 181, 04) |
HSL Code | hsl(79, 96%, 36%) |
#7cb504 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 181, 04); }
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(79, 96%, 36%); }
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 #7cb504
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 181, 04, 10%) | #7cb5041a | |
rgb(124, 181, 04, 20%) | #7cb50433 | |
rgb(124, 181, 04, 40%) | #7cb5044C | |
rgb(124, 181, 04, 60%) | #7cb50499 | |
rgb(124, 181, 04, 80%) | #7cb504CC | |
rgb(124, 181, 04, 100%) | #7cb504FF |
Saturated and desaturated colors of #7cb504
HSL Code | Preview |
---|---|
hsl(79, 10%, 36%) | |
hsl(79, 20%, 36%) | |
hsl(79, 40%, 36%) | |
hsl(79, 60%, 36%) | |
hsl(79, 80%, 36%) | |
hsl(79, 100%, 36%) |
#7cb504 Color Usage In CSS
body { color: #7cb504; } p { color: rgb(124, 181, 04); } header { border-bottom:1px solid #7cb504; }