#7dd331 Color
Color Codes | |
---|---|
Hex Code | #7dd331 |
RGB Code | rgb(125, 211, 49) |
HSL Code | hsl(92, 65%, 51%) |
#7dd331 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(125, 211, 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(92, 65%, 51%); }
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 #7dd331
RGB Code | Hex Code | Preview |
---|---|---|
rgb(125, 211, 49, 10%) | #7dd3311a | |
rgb(125, 211, 49, 20%) | #7dd33133 | |
rgb(125, 211, 49, 40%) | #7dd3314C | |
rgb(125, 211, 49, 60%) | #7dd33199 | |
rgb(125, 211, 49, 80%) | #7dd331CC | |
rgb(125, 211, 49, 100%) | #7dd331FF |
Saturated and desaturated colors of #7dd331
HSL Code | Preview |
---|---|
hsl(92, 10%, 51%) | |
hsl(92, 20%, 51%) | |
hsl(92, 40%, 51%) | |
hsl(92, 60%, 51%) | |
hsl(92, 80%, 51%) | |
hsl(92, 100%, 51%) |
#7dd331 Color Usage In CSS
body { color: #7dd331; } p { color: rgb(125, 211, 49); } header { border-bottom:1px solid #7dd331; }