Random Color Generator

#9ea00c Color

Color Codes
Hex Code #9ea00c
RGB Code rgb(158, 160, 12)
HSL Code hsl(61, 86%, 34%)

#9ea00c Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 160, 12);
   }

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(61, 86%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(158, 160, 12, 10%) #9ea00c1a  
rgb(158, 160, 12, 20%) #9ea00c33  
rgb(158, 160, 12, 40%) #9ea00c4C  
rgb(158, 160, 12, 60%) #9ea00c99  
rgb(158, 160, 12, 80%) #9ea00cCC  
rgb(158, 160, 12, 100%) #9ea00cFF  

Saturated and desaturated colors of #9ea00c

HSL Code Preview
hsl(61, 10%, 34%)  
hsl(61, 20%, 34%)  
hsl(61, 40%, 34%)  
hsl(61, 60%, 34%)  
hsl(61, 80%, 34%)  
hsl(61, 100%, 34%)  

#9ea00c Color Usage In CSS

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