#a50791 Color
Color Codes | |
---|---|
Hex Code | #a50791 |
RGB Code | rgb(165, 07, 145) |
HSL Code | hsl(308, 92%, 34%) |
#a50791 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 07, 145); }
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(308, 92%, 34%); }
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 #a50791
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 07, 145, 10%) | #a507911a | |
rgb(165, 07, 145, 20%) | #a5079133 | |
rgb(165, 07, 145, 40%) | #a507914C | |
rgb(165, 07, 145, 60%) | #a5079199 | |
rgb(165, 07, 145, 80%) | #a50791CC | |
rgb(165, 07, 145, 100%) | #a50791FF |
Saturated and desaturated colors of #a50791
HSL Code | Preview |
---|---|
hsl(308, 10%, 34%) | |
hsl(308, 20%, 34%) | |
hsl(308, 40%, 34%) | |
hsl(308, 60%, 34%) | |
hsl(308, 80%, 34%) | |
hsl(308, 100%, 34%) |
#a50791 Color Usage In CSS
body { color: #a50791; } p { color: rgb(165, 07, 145); } header { border-bottom:1px solid #a50791; }