#a84d79 Color
Color Codes | |
---|---|
Hex Code | #a84d79 |
RGB Code | rgb(168, 77, 121) |
HSL Code | hsl(331, 37%, 48%) |
#a84d79 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 77, 121); }
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, 37%, 48%); }
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 #a84d79
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 77, 121, 10%) | #a84d791a | |
rgb(168, 77, 121, 20%) | #a84d7933 | |
rgb(168, 77, 121, 40%) | #a84d794C | |
rgb(168, 77, 121, 60%) | #a84d7999 | |
rgb(168, 77, 121, 80%) | #a84d79CC | |
rgb(168, 77, 121, 100%) | #a84d79FF |
Saturated and desaturated colors of #a84d79
HSL Code | Preview |
---|---|
hsl(331, 10%, 48%) | |
hsl(331, 20%, 48%) | |
hsl(331, 40%, 48%) | |
hsl(331, 60%, 48%) | |
hsl(331, 80%, 48%) | |
hsl(331, 100%, 48%) |
#a84d79 Color Usage In CSS
body { color: #a84d79; } p { color: rgb(168, 77, 121); } header { border-bottom:1px solid #a84d79; }