#a91a9c Color
Color Codes | |
---|---|
Hex Code | #a91a9c |
RGB Code | rgb(169, 26, 156) |
HSL Code | hsl(305, 73%, 38%) |
#a91a9c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 26, 156); }
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(305, 73%, 38%); }
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 #a91a9c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 26, 156, 10%) | #a91a9c1a | |
rgb(169, 26, 156, 20%) | #a91a9c33 | |
rgb(169, 26, 156, 40%) | #a91a9c4C | |
rgb(169, 26, 156, 60%) | #a91a9c99 | |
rgb(169, 26, 156, 80%) | #a91a9cCC | |
rgb(169, 26, 156, 100%) | #a91a9cFF |
Saturated and desaturated colors of #a91a9c
HSL Code | Preview |
---|---|
hsl(305, 10%, 38%) | |
hsl(305, 20%, 38%) | |
hsl(305, 40%, 38%) | |
hsl(305, 60%, 38%) | |
hsl(305, 80%, 38%) | |
hsl(305, 100%, 38%) |
#a91a9c Color Usage In CSS
body { color: #a91a9c; } p { color: rgb(169, 26, 156); } header { border-bottom:1px solid #a91a9c; }