#a73158 Color
Color Codes | |
---|---|
Hex Code | #a73158 |
RGB Code | rgb(167, 49, 88) |
HSL Code | hsl(340, 55%, 42%) |
#a73158 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 49, 88); }
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(340, 55%, 42%); }
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 #a73158
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 49, 88, 10%) | #a731581a | |
rgb(167, 49, 88, 20%) | #a7315833 | |
rgb(167, 49, 88, 40%) | #a731584C | |
rgb(167, 49, 88, 60%) | #a7315899 | |
rgb(167, 49, 88, 80%) | #a73158CC | |
rgb(167, 49, 88, 100%) | #a73158FF |
Saturated and desaturated colors of #a73158
HSL Code | Preview |
---|---|
hsl(340, 10%, 42%) | |
hsl(340, 20%, 42%) | |
hsl(340, 40%, 42%) | |
hsl(340, 60%, 42%) | |
hsl(340, 80%, 42%) | |
hsl(340, 100%, 42%) |
#a73158 Color Usage In CSS
body { color: #a73158; } p { color: rgb(167, 49, 88); } header { border-bottom:1px solid #a73158; }