#5caf71 Color
Color Codes | |
---|---|
Hex Code | #5caf71 |
RGB Code | rgb(92, 175, 113) |
HSL Code | hsl(135, 34%, 52%) |
#5caf71 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(92, 175, 113); }
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(135, 34%, 52%); }
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 #5caf71
RGB Code | Hex Code | Preview |
---|---|---|
rgb(92, 175, 113, 10%) | #5caf711a | |
rgb(92, 175, 113, 20%) | #5caf7133 | |
rgb(92, 175, 113, 40%) | #5caf714C | |
rgb(92, 175, 113, 60%) | #5caf7199 | |
rgb(92, 175, 113, 80%) | #5caf71CC | |
rgb(92, 175, 113, 100%) | #5caf71FF |
Saturated and desaturated colors of #5caf71
HSL Code | Preview |
---|---|
hsl(135, 10%, 52%) | |
hsl(135, 20%, 52%) | |
hsl(135, 40%, 52%) | |
hsl(135, 60%, 52%) | |
hsl(135, 80%, 52%) | |
hsl(135, 100%, 52%) |
#5caf71 Color Usage In CSS
body { color: #5caf71; } p { color: rgb(92, 175, 113); } header { border-bottom:1px solid #5caf71; }