#509348 Color
Color Codes | |
---|---|
Hex Code | #509348 |
RGB Code | rgb(80, 147, 72) |
HSL Code | hsl(114, 34%, 43%) |
#509348 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 147, 72); }
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(114, 34%, 43%); }
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 #509348
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 147, 72, 10%) | #5093481a | |
rgb(80, 147, 72, 20%) | #50934833 | |
rgb(80, 147, 72, 40%) | #5093484C | |
rgb(80, 147, 72, 60%) | #50934899 | |
rgb(80, 147, 72, 80%) | #509348CC | |
rgb(80, 147, 72, 100%) | #509348FF |
Saturated and desaturated colors of #509348
HSL Code | Preview |
---|---|
hsl(114, 10%, 43%) | |
hsl(114, 20%, 43%) | |
hsl(114, 40%, 43%) | |
hsl(114, 60%, 43%) | |
hsl(114, 80%, 43%) | |
hsl(114, 100%, 43%) |
#509348 Color Usage In CSS
body { color: #509348; } p { color: rgb(80, 147, 72); } header { border-bottom:1px solid #509348; }