#ac11fd Color
Color Codes | |
---|---|
Hex Code | #ac11fd |
RGB Code | rgb(172, 17, 253) |
HSL Code | hsl(279, 98%, 53%) |
#ac11fd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(172, 17, 253); }
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(279, 98%, 53%); }
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 #ac11fd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(172, 17, 253, 10%) | #ac11fd1a | |
rgb(172, 17, 253, 20%) | #ac11fd33 | |
rgb(172, 17, 253, 40%) | #ac11fd4C | |
rgb(172, 17, 253, 60%) | #ac11fd99 | |
rgb(172, 17, 253, 80%) | #ac11fdCC | |
rgb(172, 17, 253, 100%) | #ac11fdFF |
Saturated and desaturated colors of #ac11fd
HSL Code | Preview |
---|---|
hsl(279, 10%, 53%) | |
hsl(279, 20%, 53%) | |
hsl(279, 40%, 53%) | |
hsl(279, 60%, 53%) | |
hsl(279, 80%, 53%) | |
hsl(279, 100%, 53%) |
#ac11fd Color Usage In CSS
body { color: #ac11fd; } p { color: rgb(172, 17, 253); } header { border-bottom:1px solid #ac11fd; }