#7bbf55 Color
Color Codes | |
---|---|
Hex Code | #7bbf55 |
RGB Code | rgb(123, 191, 85) |
HSL Code | hsl(98, 45%, 54%) |
#7bbf55 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 191, 85); }
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(98, 45%, 54%); }
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 #7bbf55
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 191, 85, 10%) | #7bbf551a | |
rgb(123, 191, 85, 20%) | #7bbf5533 | |
rgb(123, 191, 85, 40%) | #7bbf554C | |
rgb(123, 191, 85, 60%) | #7bbf5599 | |
rgb(123, 191, 85, 80%) | #7bbf55CC | |
rgb(123, 191, 85, 100%) | #7bbf55FF |
Saturated and desaturated colors of #7bbf55
HSL Code | Preview |
---|---|
hsl(98, 10%, 54%) | |
hsl(98, 20%, 54%) | |
hsl(98, 40%, 54%) | |
hsl(98, 60%, 54%) | |
hsl(98, 80%, 54%) | |
hsl(98, 100%, 54%) |
#7bbf55 Color Usage In CSS
body { color: #7bbf55; } p { color: rgb(123, 191, 85); } header { border-bottom:1px solid #7bbf55; }