#a91fbc Color
Color Codes | |
---|---|
Hex Code | #a91fbc |
RGB Code | rgb(169, 31, 188) |
HSL Code | hsl(293, 72%, 43%) |
#a91fbc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 31, 188); }
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(293, 72%, 43%); }
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 #a91fbc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 31, 188, 10%) | #a91fbc1a | |
rgb(169, 31, 188, 20%) | #a91fbc33 | |
rgb(169, 31, 188, 40%) | #a91fbc4C | |
rgb(169, 31, 188, 60%) | #a91fbc99 | |
rgb(169, 31, 188, 80%) | #a91fbcCC | |
rgb(169, 31, 188, 100%) | #a91fbcFF |
Saturated and desaturated colors of #a91fbc
HSL Code | Preview |
---|---|
hsl(293, 10%, 43%) | |
hsl(293, 20%, 43%) | |
hsl(293, 40%, 43%) | |
hsl(293, 60%, 43%) | |
hsl(293, 80%, 43%) | |
hsl(293, 100%, 43%) |
#a91fbc Color Usage In CSS
body { color: #a91fbc; } p { color: rgb(169, 31, 188); } header { border-bottom:1px solid #a91fbc; }