#ac0a87 Color
Color Codes | |
---|---|
Hex Code | #ac0a87 |
RGB Code | rgb(172, 10, 135) |
HSL Code | hsl(314, 89%, 36%) |
#ac0a87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(172, 10, 135); }
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(314, 89%, 36%); }
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 #ac0a87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(172, 10, 135, 10%) | #ac0a871a | |
rgb(172, 10, 135, 20%) | #ac0a8733 | |
rgb(172, 10, 135, 40%) | #ac0a874C | |
rgb(172, 10, 135, 60%) | #ac0a8799 | |
rgb(172, 10, 135, 80%) | #ac0a87CC | |
rgb(172, 10, 135, 100%) | #ac0a87FF |
Saturated and desaturated colors of #ac0a87
HSL Code | Preview |
---|---|
hsl(314, 10%, 36%) | |
hsl(314, 20%, 36%) | |
hsl(314, 40%, 36%) | |
hsl(314, 60%, 36%) | |
hsl(314, 80%, 36%) | |
hsl(314, 100%, 36%) |
#ac0a87 Color Usage In CSS
body { color: #ac0a87; } p { color: rgb(172, 10, 135); } header { border-bottom:1px solid #ac0a87; }