Random Color Generator

#a9a5a2 Color

Color Codes
Hex Code #a9a5a2
RGB Code rgb(169, 165, 162)
HSL Code hsl(26, 4%, 65%)

#a9a5a2 Color Syntax

rgb()

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

 main {
    background-color: rgb(169, 165, 162);
   }

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(26, 4%, 65%);
  }

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

RGB Code Hex Code Preview
rgb(169, 165, 162, 10%) #a9a5a21a  
rgb(169, 165, 162, 20%) #a9a5a233  
rgb(169, 165, 162, 40%) #a9a5a24C  
rgb(169, 165, 162, 60%) #a9a5a299  
rgb(169, 165, 162, 80%) #a9a5a2CC  
rgb(169, 165, 162, 100%) #a9a5a2FF  

Saturated and desaturated colors of #a9a5a2

HSL Code Preview
hsl(26, 10%, 65%)  
hsl(26, 20%, 65%)  
hsl(26, 40%, 65%)  
hsl(26, 60%, 65%)  
hsl(26, 80%, 65%)  
hsl(26, 100%, 65%)  

#a9a5a2 Color Usage In CSS

 body {
    color: #a9a5a2;
    }
 p {
    color: rgb(169, 165, 162);
    }
 header {
    border-bottom:1px solid #a9a5a2;
    }
Recent Random Colors