#506749 Color
Color Codes | |
---|---|
Hex Code | #506749 |
RGB Code | rgb(80, 103, 73) |
HSL Code | hsl(106, 17%, 35%) |
#506749 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 103, 73); }
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(106, 17%, 35%); }
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 #506749
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 103, 73, 10%) | #5067491a | |
rgb(80, 103, 73, 20%) | #50674933 | |
rgb(80, 103, 73, 40%) | #5067494C | |
rgb(80, 103, 73, 60%) | #50674999 | |
rgb(80, 103, 73, 80%) | #506749CC | |
rgb(80, 103, 73, 100%) | #506749FF |
Saturated and desaturated colors of #506749
HSL Code | Preview |
---|---|
hsl(106, 10%, 35%) | |
hsl(106, 20%, 35%) | |
hsl(106, 40%, 35%) | |
hsl(106, 60%, 35%) | |
hsl(106, 80%, 35%) | |
hsl(106, 100%, 35%) |
#506749 Color Usage In CSS
body { color: #506749; } p { color: rgb(80, 103, 73); } header { border-bottom:1px solid #506749; }