Random Color Generator

#7aa432 Color

Color Codes
Hex Code #7aa432
RGB Code rgb(122, 164, 50)
HSL Code hsl(82, 53%, 42%)

#7aa432 Color Syntax

rgb()

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

 main {
    background-color: rgb(122, 164, 50);
   }

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(82, 53%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(122, 164, 50, 10%) #7aa4321a  
rgb(122, 164, 50, 20%) #7aa43233  
rgb(122, 164, 50, 40%) #7aa4324C  
rgb(122, 164, 50, 60%) #7aa43299  
rgb(122, 164, 50, 80%) #7aa432CC  
rgb(122, 164, 50, 100%) #7aa432FF  

Saturated and desaturated colors of #7aa432

HSL Code Preview
hsl(82, 10%, 42%)  
hsl(82, 20%, 42%)  
hsl(82, 40%, 42%)  
hsl(82, 60%, 42%)  
hsl(82, 80%, 42%)  
hsl(82, 100%, 42%)  

#7aa432 Color Usage In CSS

 body {
    color: #7aa432;
    }
 p {
    color: rgb(122, 164, 50);
    }
 header {
    border-bottom:1px solid #7aa432;
    }
Recent Random Colors