Random Color Generator

#aab158 Color

Color Codes
Hex Code #aab158
RGB Code rgb(170, 177, 88)
HSL Code hsl(65, 36%, 52%)

#aab158 Color Syntax

rgb()

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

 main {
    background-color: rgb(170, 177, 88);
   }

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(65, 36%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(170, 177, 88, 10%) #aab1581a  
rgb(170, 177, 88, 20%) #aab15833  
rgb(170, 177, 88, 40%) #aab1584C  
rgb(170, 177, 88, 60%) #aab15899  
rgb(170, 177, 88, 80%) #aab158CC  
rgb(170, 177, 88, 100%) #aab158FF  

Saturated and desaturated colors of #aab158

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

#aab158 Color Usage In CSS

 body {
    color: #aab158;
    }
 p {
    color: rgb(170, 177, 88);
    }
 header {
    border-bottom:1px solid #aab158;
    }
Recent Random Colors