Random Color Generator

#9baf4d Color

Color Codes
Hex Code #9baf4d
RGB Code rgb(155, 175, 77)
HSL Code hsl(72, 39%, 49%)

#9baf4d Color Syntax

rgb()

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

 main {
    background-color: rgb(155, 175, 77);
   }

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(72, 39%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(155, 175, 77, 10%) #9baf4d1a  
rgb(155, 175, 77, 20%) #9baf4d33  
rgb(155, 175, 77, 40%) #9baf4d4C  
rgb(155, 175, 77, 60%) #9baf4d99  
rgb(155, 175, 77, 80%) #9baf4dCC  
rgb(155, 175, 77, 100%) #9baf4dFF  

Saturated and desaturated colors of #9baf4d

HSL Code Preview
hsl(72, 10%, 49%)  
hsl(72, 20%, 49%)  
hsl(72, 40%, 49%)  
hsl(72, 60%, 49%)  
hsl(72, 80%, 49%)  
hsl(72, 100%, 49%)  

#9baf4d Color Usage In CSS

 body {
    color: #9baf4d;
    }
 p {
    color: rgb(155, 175, 77);
    }
 header {
    border-bottom:1px solid #9baf4d;
    }
Recent Random Colors