#7cb910 Color
Color Codes | |
---|---|
Hex Code | #7cb910 |
RGB Code | rgb(124, 185, 16) |
HSL Code | hsl(82, 84%, 39%) |
#7cb910 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 185, 16); }
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(82, 84%, 39%); }
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 #7cb910
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 185, 16, 10%) | #7cb9101a | |
rgb(124, 185, 16, 20%) | #7cb91033 | |
rgb(124, 185, 16, 40%) | #7cb9104C | |
rgb(124, 185, 16, 60%) | #7cb91099 | |
rgb(124, 185, 16, 80%) | #7cb910CC | |
rgb(124, 185, 16, 100%) | #7cb910FF |
Saturated and desaturated colors of #7cb910
HSL Code | Preview |
---|---|
hsl(82, 10%, 39%) | |
hsl(82, 20%, 39%) | |
hsl(82, 40%, 39%) | |
hsl(82, 60%, 39%) | |
hsl(82, 80%, 39%) | |
hsl(82, 100%, 39%) |
#7cb910 Color Usage In CSS
body { color: #7cb910; } p { color: rgb(124, 185, 16); } header { border-bottom:1px solid #7cb910; }