Random Color Generator

#9ed42d Color

Color Codes
Hex Code #9ed42d
RGB Code rgb(158, 212, 45)
HSL Code hsl(79, 66%, 50%)

#9ed42d Color Syntax

rgb()

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

 main {
    background-color: rgb(158, 212, 45);
   }

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(79, 66%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(158, 212, 45, 10%) #9ed42d1a  
rgb(158, 212, 45, 20%) #9ed42d33  
rgb(158, 212, 45, 40%) #9ed42d4C  
rgb(158, 212, 45, 60%) #9ed42d99  
rgb(158, 212, 45, 80%) #9ed42dCC  
rgb(158, 212, 45, 100%) #9ed42dFF  

Saturated and desaturated colors of #9ed42d

HSL Code Preview
hsl(79, 10%, 50%)  
hsl(79, 20%, 50%)  
hsl(79, 40%, 50%)  
hsl(79, 60%, 50%)  
hsl(79, 80%, 50%)  
hsl(79, 100%, 50%)  

#9ed42d Color Usage In CSS

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