#471966 Color
Color Codes | |
---|---|
Hex Code | #471966 |
RGB Code | rgb(71, 25, 102) |
HSL Code | hsl(276, 61%, 25%) |
#471966 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 25, 102); }
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(276, 61%, 25%); }
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 #471966
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 25, 102, 10%) | #4719661a | |
rgb(71, 25, 102, 20%) | #47196633 | |
rgb(71, 25, 102, 40%) | #4719664C | |
rgb(71, 25, 102, 60%) | #47196699 | |
rgb(71, 25, 102, 80%) | #471966CC | |
rgb(71, 25, 102, 100%) | #471966FF |
Saturated and desaturated colors of #471966
HSL Code | Preview |
---|---|
hsl(276, 10%, 25%) | |
hsl(276, 20%, 25%) | |
hsl(276, 40%, 25%) | |
hsl(276, 60%, 25%) | |
hsl(276, 80%, 25%) | |
hsl(276, 100%, 25%) |
#471966 Color Usage In CSS
body { color: #471966; } p { color: rgb(71, 25, 102); } header { border-bottom:1px solid #471966; }