#7fbb72 Color
Color Codes | |
---|---|
Hex Code | #7fbb72 |
RGB Code | rgb(127, 187, 114) |
HSL Code | hsl(109, 35%, 59%) |
#7fbb72 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 187, 114); }
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(109, 35%, 59%); }
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 #7fbb72
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 187, 114, 10%) | #7fbb721a | |
rgb(127, 187, 114, 20%) | #7fbb7233 | |
rgb(127, 187, 114, 40%) | #7fbb724C | |
rgb(127, 187, 114, 60%) | #7fbb7299 | |
rgb(127, 187, 114, 80%) | #7fbb72CC | |
rgb(127, 187, 114, 100%) | #7fbb72FF |
Saturated and desaturated colors of #7fbb72
HSL Code | Preview |
---|---|
hsl(109, 10%, 59%) | |
hsl(109, 20%, 59%) | |
hsl(109, 40%, 59%) | |
hsl(109, 60%, 59%) | |
hsl(109, 80%, 59%) | |
hsl(109, 100%, 59%) |
#7fbb72 Color Usage In CSS
body { color: #7fbb72; } p { color: rgb(127, 187, 114); } header { border-bottom:1px solid #7fbb72; }