Random Color Generator

#9baf45 Color

Color Codes
Hex Code #9baf45
RGB Code rgb(155, 175, 69)
HSL Code hsl(71, 43%, 48%)

#9baf45 Color Syntax

rgb()

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

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

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(71, 43%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(155, 175, 69, 10%) #9baf451a  
rgb(155, 175, 69, 20%) #9baf4533  
rgb(155, 175, 69, 40%) #9baf454C  
rgb(155, 175, 69, 60%) #9baf4599  
rgb(155, 175, 69, 80%) #9baf45CC  
rgb(155, 175, 69, 100%) #9baf45FF  

Saturated and desaturated colors of #9baf45

HSL Code Preview
hsl(71, 10%, 48%)  
hsl(71, 20%, 48%)  
hsl(71, 40%, 48%)  
hsl(71, 60%, 48%)  
hsl(71, 80%, 48%)  
hsl(71, 100%, 48%)  

#9baf45 Color Usage In CSS

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