#47216a Color
Color Codes | |
---|---|
Hex Code | #47216a |
RGB Code | rgb(71, 33, 106) |
HSL Code | hsl(271, 53%, 27%) |
#47216a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 33, 106); }
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(271, 53%, 27%); }
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 #47216a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 33, 106, 10%) | #47216a1a | |
rgb(71, 33, 106, 20%) | #47216a33 | |
rgb(71, 33, 106, 40%) | #47216a4C | |
rgb(71, 33, 106, 60%) | #47216a99 | |
rgb(71, 33, 106, 80%) | #47216aCC | |
rgb(71, 33, 106, 100%) | #47216aFF |
Saturated and desaturated colors of #47216a
HSL Code | Preview |
---|---|
hsl(271, 10%, 27%) | |
hsl(271, 20%, 27%) | |
hsl(271, 40%, 27%) | |
hsl(271, 60%, 27%) | |
hsl(271, 80%, 27%) | |
hsl(271, 100%, 27%) |
#47216a Color Usage In CSS
body { color: #47216a; } p { color: rgb(71, 33, 106); } header { border-bottom:1px solid #47216a; }