Random Color Generator

#ac5884 Color

Color Codes
Hex Code #ac5884
RGB Code rgb(172, 88, 132)
HSL Code hsl(329, 34%, 51%)

#ac5884 Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(172, 88, 132);
   }

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(329, 34%, 51%);
  }

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 #ac5884

RGB Code Hex Code Preview
rgb(172, 88, 132, 10%) #ac58841a  
rgb(172, 88, 132, 20%) #ac588433  
rgb(172, 88, 132, 40%) #ac58844C  
rgb(172, 88, 132, 60%) #ac588499  
rgb(172, 88, 132, 80%) #ac5884CC  
rgb(172, 88, 132, 100%) #ac5884FF  

Saturated and desaturated colors of #ac5884

HSL Code Preview
hsl(329, 10%, 51%)  
hsl(329, 20%, 51%)  
hsl(329, 40%, 51%)  
hsl(329, 60%, 51%)  
hsl(329, 80%, 51%)  
hsl(329, 100%, 51%)  

#ac5884 Color Usage In CSS

 body {
    color: #ac5884;
    }
 p {
    color: rgb(172, 88, 132);
    }
 header {
    border-bottom:1px solid #ac5884;
    }
Recent Random Colors