#a096dd Color
Color Codes | |
---|---|
Hex Code | #a096dd |
RGB Code | rgb(160, 150, 221) |
HSL Code | hsl(248, 51%, 73%) |
#a096dd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 150, 221); }
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(248, 51%, 73%); }
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 #a096dd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 150, 221, 10%) | #a096dd1a | |
rgb(160, 150, 221, 20%) | #a096dd33 | |
rgb(160, 150, 221, 40%) | #a096dd4C | |
rgb(160, 150, 221, 60%) | #a096dd99 | |
rgb(160, 150, 221, 80%) | #a096ddCC | |
rgb(160, 150, 221, 100%) | #a096ddFF |
Saturated and desaturated colors of #a096dd
HSL Code | Preview |
---|---|
hsl(248, 10%, 73%) | |
hsl(248, 20%, 73%) | |
hsl(248, 40%, 73%) | |
hsl(248, 60%, 73%) | |
hsl(248, 80%, 73%) | |
hsl(248, 100%, 73%) |
#a096dd Color Usage In CSS
body { color: #a096dd; } p { color: rgb(160, 150, 221); } header { border-bottom:1px solid #a096dd; }