#996cab Color
Color Codes | |
---|---|
Hex Code | #996cab |
RGB Code | rgb(153, 108, 171) |
HSL Code | hsl(283, 27%, 55%) |
#996cab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(153, 108, 171); }
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(283, 27%, 55%); }
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 #996cab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(153, 108, 171, 10%) | #996cab1a | |
rgb(153, 108, 171, 20%) | #996cab33 | |
rgb(153, 108, 171, 40%) | #996cab4C | |
rgb(153, 108, 171, 60%) | #996cab99 | |
rgb(153, 108, 171, 80%) | #996cabCC | |
rgb(153, 108, 171, 100%) | #996cabFF |
Saturated and desaturated colors of #996cab
HSL Code | Preview |
---|---|
hsl(283, 10%, 55%) | |
hsl(283, 20%, 55%) | |
hsl(283, 40%, 55%) | |
hsl(283, 60%, 55%) | |
hsl(283, 80%, 55%) | |
hsl(283, 100%, 55%) |
#996cab Color Usage In CSS
body { color: #996cab; } p { color: rgb(153, 108, 171); } header { border-bottom:1px solid #996cab; }