#a22c65 Color
Color Codes | |
---|---|
Hex Code | #a22c65 |
RGB Code | rgb(162, 44, 101) |
HSL Code | hsl(331, 57%, 40%) |
#a22c65 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(162, 44, 101); }
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(331, 57%, 40%); }
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 #a22c65
RGB Code | Hex Code | Preview |
---|---|---|
rgb(162, 44, 101, 10%) | #a22c651a | |
rgb(162, 44, 101, 20%) | #a22c6533 | |
rgb(162, 44, 101, 40%) | #a22c654C | |
rgb(162, 44, 101, 60%) | #a22c6599 | |
rgb(162, 44, 101, 80%) | #a22c65CC | |
rgb(162, 44, 101, 100%) | #a22c65FF |
Saturated and desaturated colors of #a22c65
HSL Code | Preview |
---|---|
hsl(331, 10%, 40%) | |
hsl(331, 20%, 40%) | |
hsl(331, 40%, 40%) | |
hsl(331, 60%, 40%) | |
hsl(331, 80%, 40%) | |
hsl(331, 100%, 40%) |
#a22c65 Color Usage In CSS
body { color: #a22c65; } p { color: rgb(162, 44, 101); } header { border-bottom:1px solid #a22c65; }