Random Color Generator

#a2b398 Color

Color Codes
Hex Code #a2b398
RGB Code rgb(162, 179, 152)
HSL Code hsl(98, 15%, 65%)

#a2b398 Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 179, 152);
   }

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(98, 15%, 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 #a2b398

RGB Code Hex Code Preview
rgb(162, 179, 152, 10%) #a2b3981a  
rgb(162, 179, 152, 20%) #a2b39833  
rgb(162, 179, 152, 40%) #a2b3984C  
rgb(162, 179, 152, 60%) #a2b39899  
rgb(162, 179, 152, 80%) #a2b398CC  
rgb(162, 179, 152, 100%) #a2b398FF  

Saturated and desaturated colors of #a2b398

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

#a2b398 Color Usage In CSS

 body {
    color: #a2b398;
    }
 p {
    color: rgb(162, 179, 152);
    }
 header {
    border-bottom:1px solid #a2b398;
    }
Recent Random Colors