#47516c Color
Color Codes | |
---|---|
Hex Code | #47516c |
RGB Code | rgb(71, 81, 108) |
HSL Code | hsl(224, 21%, 35%) |
#47516c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 81, 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(224, 21%, 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 #47516c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 81, 108, 10%) | #47516c1a | |
rgb(71, 81, 108, 20%) | #47516c33 | |
rgb(71, 81, 108, 40%) | #47516c4C | |
rgb(71, 81, 108, 60%) | #47516c99 | |
rgb(71, 81, 108, 80%) | #47516cCC | |
rgb(71, 81, 108, 100%) | #47516cFF |
Saturated and desaturated colors of #47516c
HSL Code | Preview |
---|---|
hsl(224, 10%, 35%) | |
hsl(224, 20%, 35%) | |
hsl(224, 40%, 35%) | |
hsl(224, 60%, 35%) | |
hsl(224, 80%, 35%) | |
hsl(224, 100%, 35%) |
#47516c Color Usage In CSS
body { color: #47516c; } p { color: rgb(71, 81, 108); } header { border-bottom:1px solid #47516c; }