#a16197 Color
Color Codes | |
---|---|
Hex Code | #a16197 |
RGB Code | rgb(161, 97, 151) |
HSL Code | hsl(309, 25%, 51%) |
#a16197 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 97, 151); }
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(309, 25%, 51%); }
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 #a16197
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 97, 151, 10%) | #a161971a | |
rgb(161, 97, 151, 20%) | #a1619733 | |
rgb(161, 97, 151, 40%) | #a161974C | |
rgb(161, 97, 151, 60%) | #a1619799 | |
rgb(161, 97, 151, 80%) | #a16197CC | |
rgb(161, 97, 151, 100%) | #a16197FF |
Saturated and desaturated colors of #a16197
HSL Code | Preview |
---|---|
hsl(309, 10%, 51%) | |
hsl(309, 20%, 51%) | |
hsl(309, 40%, 51%) | |
hsl(309, 60%, 51%) | |
hsl(309, 80%, 51%) | |
hsl(309, 100%, 51%) |
#a16197 Color Usage In CSS
body { color: #a16197; } p { color: rgb(161, 97, 151); } header { border-bottom:1px solid #a16197; }