#a234ad Color
Color Codes | |
---|---|
Hex Code | #a234ad |
RGB Code | rgb(162, 52, 173) |
HSL Code | hsl(295, 54%, 44%) |
#a234ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(162, 52, 173); }
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(295, 54%, 44%); }
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 #a234ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(162, 52, 173, 10%) | #a234ad1a | |
rgb(162, 52, 173, 20%) | #a234ad33 | |
rgb(162, 52, 173, 40%) | #a234ad4C | |
rgb(162, 52, 173, 60%) | #a234ad99 | |
rgb(162, 52, 173, 80%) | #a234adCC | |
rgb(162, 52, 173, 100%) | #a234adFF |
Saturated and desaturated colors of #a234ad
HSL Code | Preview |
---|---|
hsl(295, 10%, 44%) | |
hsl(295, 20%, 44%) | |
hsl(295, 40%, 44%) | |
hsl(295, 60%, 44%) | |
hsl(295, 80%, 44%) | |
hsl(295, 100%, 44%) |
#a234ad Color Usage In CSS
body { color: #a234ad; } p { color: rgb(162, 52, 173); } header { border-bottom:1px solid #a234ad; }