Random Color Generator

#9eb456 Color

Color Codes
Hex Code #9eb456
RGB Code rgb(158, 180, 86)
HSL Code hsl(74, 39%, 52%)

#9eb456 Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 180, 86);
   }

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(74, 39%, 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 #9eb456

RGB Code Hex Code Preview
rgb(158, 180, 86, 10%) #9eb4561a  
rgb(158, 180, 86, 20%) #9eb45633  
rgb(158, 180, 86, 40%) #9eb4564C  
rgb(158, 180, 86, 60%) #9eb45699  
rgb(158, 180, 86, 80%) #9eb456CC  
rgb(158, 180, 86, 100%) #9eb456FF  

Saturated and desaturated colors of #9eb456

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

#9eb456 Color Usage In CSS

 body {
    color: #9eb456;
    }
 p {
    color: rgb(158, 180, 86);
    }
 header {
    border-bottom:1px solid #9eb456;
    }
Recent Random Colors