#a96cc4 Color
Color Codes | |
---|---|
Hex Code | #a96cc4 |
RGB Code | rgb(169, 108, 196) |
HSL Code | hsl(282, 43%, 60%) |
#a96cc4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 108, 196); }
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(282, 43%, 60%); }
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 #a96cc4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 108, 196, 10%) | #a96cc41a | |
rgb(169, 108, 196, 20%) | #a96cc433 | |
rgb(169, 108, 196, 40%) | #a96cc44C | |
rgb(169, 108, 196, 60%) | #a96cc499 | |
rgb(169, 108, 196, 80%) | #a96cc4CC | |
rgb(169, 108, 196, 100%) | #a96cc4FF |
Saturated and desaturated colors of #a96cc4
HSL Code | Preview |
---|---|
hsl(282, 10%, 60%) | |
hsl(282, 20%, 60%) | |
hsl(282, 40%, 60%) | |
hsl(282, 60%, 60%) | |
hsl(282, 80%, 60%) | |
hsl(282, 100%, 60%) |
#a96cc4 Color Usage In CSS
body { color: #a96cc4; } p { color: rgb(169, 108, 196); } header { border-bottom:1px solid #a96cc4; }