#ab3ae4 Color
Color Codes | |
---|---|
Hex Code | #ab3ae4 |
RGB Code | rgb(171, 58, 228) |
HSL Code | hsl(280, 76%, 56%) |
#ab3ae4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 58, 228); }
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(280, 76%, 56%); }
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 #ab3ae4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 58, 228, 10%) | #ab3ae41a | |
rgb(171, 58, 228, 20%) | #ab3ae433 | |
rgb(171, 58, 228, 40%) | #ab3ae44C | |
rgb(171, 58, 228, 60%) | #ab3ae499 | |
rgb(171, 58, 228, 80%) | #ab3ae4CC | |
rgb(171, 58, 228, 100%) | #ab3ae4FF |
Saturated and desaturated colors of #ab3ae4
HSL Code | Preview |
---|---|
hsl(280, 10%, 56%) | |
hsl(280, 20%, 56%) | |
hsl(280, 40%, 56%) | |
hsl(280, 60%, 56%) | |
hsl(280, 80%, 56%) | |
hsl(280, 100%, 56%) |
#ab3ae4 Color Usage In CSS
body { color: #ab3ae4; } p { color: rgb(171, 58, 228); } header { border-bottom:1px solid #ab3ae4; }