#516f39 Color
Color Codes | |
---|---|
Hex Code | #516f39 |
RGB Code | rgb(81, 111, 57) |
HSL Code | hsl(93, 32%, 33%) |
#516f39 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 111, 57); }
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(93, 32%, 33%); }
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 #516f39
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 111, 57, 10%) | #516f391a | |
rgb(81, 111, 57, 20%) | #516f3933 | |
rgb(81, 111, 57, 40%) | #516f394C | |
rgb(81, 111, 57, 60%) | #516f3999 | |
rgb(81, 111, 57, 80%) | #516f39CC | |
rgb(81, 111, 57, 100%) | #516f39FF |
Saturated and desaturated colors of #516f39
HSL Code | Preview |
---|---|
hsl(93, 10%, 33%) | |
hsl(93, 20%, 33%) | |
hsl(93, 40%, 33%) | |
hsl(93, 60%, 33%) | |
hsl(93, 80%, 33%) | |
hsl(93, 100%, 33%) |
#516f39 Color Usage In CSS
body { color: #516f39; } p { color: rgb(81, 111, 57); } header { border-bottom:1px solid #516f39; }