#a95baf Color
Color Codes | |
---|---|
Hex Code | #a95baf |
RGB Code | rgb(169, 91, 175) |
HSL Code | hsl(296, 34%, 52%) |
#a95baf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 91, 175); }
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(296, 34%, 52%); }
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 #a95baf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 91, 175, 10%) | #a95baf1a | |
rgb(169, 91, 175, 20%) | #a95baf33 | |
rgb(169, 91, 175, 40%) | #a95baf4C | |
rgb(169, 91, 175, 60%) | #a95baf99 | |
rgb(169, 91, 175, 80%) | #a95bafCC | |
rgb(169, 91, 175, 100%) | #a95bafFF |
Saturated and desaturated colors of #a95baf
HSL Code | Preview |
---|---|
hsl(296, 10%, 52%) | |
hsl(296, 20%, 52%) | |
hsl(296, 40%, 52%) | |
hsl(296, 60%, 52%) | |
hsl(296, 80%, 52%) | |
hsl(296, 100%, 52%) |
#a95baf Color Usage In CSS
body { color: #a95baf; } p { color: rgb(169, 91, 175); } header { border-bottom:1px solid #a95baf; }