Random Color Generator

#ac979e Color

Color Codes
Hex Code #ac979e
RGB Code rgb(172, 151, 158)
HSL Code hsl(340, 11%, 63%)

#ac979e Color Syntax

rgb()

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

 main {
    background-color: rgb(172, 151, 158);
   }

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(340, 11%, 63%);
  }

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

RGB Code Hex Code Preview
rgb(172, 151, 158, 10%) #ac979e1a  
rgb(172, 151, 158, 20%) #ac979e33  
rgb(172, 151, 158, 40%) #ac979e4C  
rgb(172, 151, 158, 60%) #ac979e99  
rgb(172, 151, 158, 80%) #ac979eCC  
rgb(172, 151, 158, 100%) #ac979eFF  

Saturated and desaturated colors of #ac979e

HSL Code Preview
hsl(340, 10%, 63%)  
hsl(340, 20%, 63%)  
hsl(340, 40%, 63%)  
hsl(340, 60%, 63%)  
hsl(340, 80%, 63%)  
hsl(340, 100%, 63%)  

#ac979e Color Usage In CSS

 body {
    color: #ac979e;
    }
 p {
    color: rgb(172, 151, 158);
    }
 header {
    border-bottom:1px solid #ac979e;
    }
Recent Random Colors