#8a729f Color
Color Codes | |
---|---|
Hex Code | #8a729f |
RGB Code | rgb(138, 114, 159) |
HSL Code | hsl(272, 19%, 54%) |
#8a729f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 114, 159); }
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(272, 19%, 54%); }
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 #8a729f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 114, 159, 10%) | #8a729f1a | |
rgb(138, 114, 159, 20%) | #8a729f33 | |
rgb(138, 114, 159, 40%) | #8a729f4C | |
rgb(138, 114, 159, 60%) | #8a729f99 | |
rgb(138, 114, 159, 80%) | #8a729fCC | |
rgb(138, 114, 159, 100%) | #8a729fFF |
Saturated and desaturated colors of #8a729f
HSL Code | Preview |
---|---|
hsl(272, 10%, 54%) | |
hsl(272, 20%, 54%) | |
hsl(272, 40%, 54%) | |
hsl(272, 60%, 54%) | |
hsl(272, 80%, 54%) | |
hsl(272, 100%, 54%) |
#8a729f Color Usage In CSS
body { color: #8a729f; } p { color: rgb(138, 114, 159); } header { border-bottom:1px solid #8a729f; }