#5bb58c Color
Color Codes | |
---|---|
Hex Code | #5bb58c |
RGB Code | rgb(91, 181, 140) |
HSL Code | hsl(153, 38%, 53%) |
#5bb58c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 181, 140); }
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(153, 38%, 53%); }
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 #5bb58c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 181, 140, 10%) | #5bb58c1a | |
rgb(91, 181, 140, 20%) | #5bb58c33 | |
rgb(91, 181, 140, 40%) | #5bb58c4C | |
rgb(91, 181, 140, 60%) | #5bb58c99 | |
rgb(91, 181, 140, 80%) | #5bb58cCC | |
rgb(91, 181, 140, 100%) | #5bb58cFF |
Saturated and desaturated colors of #5bb58c
HSL Code | Preview |
---|---|
hsl(153, 10%, 53%) | |
hsl(153, 20%, 53%) | |
hsl(153, 40%, 53%) | |
hsl(153, 60%, 53%) | |
hsl(153, 80%, 53%) | |
hsl(153, 100%, 53%) |
#5bb58c Color Usage In CSS
body { color: #5bb58c; } p { color: rgb(91, 181, 140); } header { border-bottom:1px solid #5bb58c; }