#ac8df5 Color
Color Codes | |
---|---|
Hex Code | #ac8df5 |
RGB Code | rgb(172, 141, 245) |
HSL Code | hsl(258, 84%, 76%) |
#ac8df5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(172, 141, 245); }
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(258, 84%, 76%); }
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 #ac8df5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(172, 141, 245, 10%) | #ac8df51a | |
rgb(172, 141, 245, 20%) | #ac8df533 | |
rgb(172, 141, 245, 40%) | #ac8df54C | |
rgb(172, 141, 245, 60%) | #ac8df599 | |
rgb(172, 141, 245, 80%) | #ac8df5CC | |
rgb(172, 141, 245, 100%) | #ac8df5FF |
Saturated and desaturated colors of #ac8df5
HSL Code | Preview |
---|---|
hsl(258, 10%, 76%) | |
hsl(258, 20%, 76%) | |
hsl(258, 40%, 76%) | |
hsl(258, 60%, 76%) | |
hsl(258, 80%, 76%) | |
hsl(258, 100%, 76%) |
#ac8df5 Color Usage In CSS
body { color: #ac8df5; } p { color: rgb(172, 141, 245); } header { border-bottom:1px solid #ac8df5; }