#5b802c Color
Color Codes | |
---|---|
Hex Code | #5b802c |
RGB Code | rgb(91, 128, 44) |
HSL Code | hsl(86, 49%, 34%) |
#5b802c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 128, 44); }
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(86, 49%, 34%); }
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 #5b802c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 128, 44, 10%) | #5b802c1a | |
rgb(91, 128, 44, 20%) | #5b802c33 | |
rgb(91, 128, 44, 40%) | #5b802c4C | |
rgb(91, 128, 44, 60%) | #5b802c99 | |
rgb(91, 128, 44, 80%) | #5b802cCC | |
rgb(91, 128, 44, 100%) | #5b802cFF |
Saturated and desaturated colors of #5b802c
HSL Code | Preview |
---|---|
hsl(86, 10%, 34%) | |
hsl(86, 20%, 34%) | |
hsl(86, 40%, 34%) | |
hsl(86, 60%, 34%) | |
hsl(86, 80%, 34%) | |
hsl(86, 100%, 34%) |
#5b802c Color Usage In CSS
body { color: #5b802c; } p { color: rgb(91, 128, 44); } header { border-bottom:1px solid #5b802c; }