Random Color Generator

#9faa32 Color

Color Codes
Hex Code #9faa32
RGB Code rgb(159, 170, 50)
HSL Code hsl(66, 55%, 43%)

#9faa32 Color Syntax

rgb()

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

 main {
    background-color: rgb(159, 170, 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(66, 55%, 43%);
  }

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 #9faa32

RGB Code Hex Code Preview
rgb(159, 170, 50, 10%) #9faa321a  
rgb(159, 170, 50, 20%) #9faa3233  
rgb(159, 170, 50, 40%) #9faa324C  
rgb(159, 170, 50, 60%) #9faa3299  
rgb(159, 170, 50, 80%) #9faa32CC  
rgb(159, 170, 50, 100%) #9faa32FF  

Saturated and desaturated colors of #9faa32

HSL Code Preview
hsl(66, 10%, 43%)  
hsl(66, 20%, 43%)  
hsl(66, 40%, 43%)  
hsl(66, 60%, 43%)  
hsl(66, 80%, 43%)  
hsl(66, 100%, 43%)  

#9faa32 Color Usage In CSS

 body {
    color: #9faa32;
    }
 p {
    color: rgb(159, 170, 50);
    }
 header {
    border-bottom:1px solid #9faa32;
    }
Recent Random Colors