#5cb46c Color
Color Codes | |
---|---|
Hex Code | #5cb46c |
RGB Code | rgb(92, 180, 108) |
HSL Code | hsl(131, 37%, 53%) |
#5cb46c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(92, 180, 108); }
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(131, 37%, 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 #5cb46c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(92, 180, 108, 10%) | #5cb46c1a | |
rgb(92, 180, 108, 20%) | #5cb46c33 | |
rgb(92, 180, 108, 40%) | #5cb46c4C | |
rgb(92, 180, 108, 60%) | #5cb46c99 | |
rgb(92, 180, 108, 80%) | #5cb46cCC | |
rgb(92, 180, 108, 100%) | #5cb46cFF |
Saturated and desaturated colors of #5cb46c
HSL Code | Preview |
---|---|
hsl(131, 10%, 53%) | |
hsl(131, 20%, 53%) | |
hsl(131, 40%, 53%) | |
hsl(131, 60%, 53%) | |
hsl(131, 80%, 53%) | |
hsl(131, 100%, 53%) |
#5cb46c Color Usage In CSS
body { color: #5cb46c; } p { color: rgb(92, 180, 108); } header { border-bottom:1px solid #5cb46c; }