Random Color Generator

#ac828e Color

Color Codes
Hex Code #ac828e
RGB Code rgb(172, 130, 142)
HSL Code hsl(343, 20%, 59%)

#ac828e Color Syntax

rgb()

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

 main {
    background-color: rgb(172, 130, 142);
   }

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(343, 20%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(172, 130, 142, 10%) #ac828e1a  
rgb(172, 130, 142, 20%) #ac828e33  
rgb(172, 130, 142, 40%) #ac828e4C  
rgb(172, 130, 142, 60%) #ac828e99  
rgb(172, 130, 142, 80%) #ac828eCC  
rgb(172, 130, 142, 100%) #ac828eFF  

Saturated and desaturated colors of #ac828e

HSL Code Preview
hsl(343, 10%, 59%)  
hsl(343, 20%, 59%)  
hsl(343, 40%, 59%)  
hsl(343, 60%, 59%)  
hsl(343, 80%, 59%)  
hsl(343, 100%, 59%)  

#ac828e Color Usage In CSS

 body {
    color: #ac828e;
    }
 p {
    color: rgb(172, 130, 142);
    }
 header {
    border-bottom:1px solid #ac828e;
    }
Recent Random Colors