Random Color Generator

#3c8e4a Color

Color Codes
Hex Code #3c8e4a
RGB Code rgb(60, 142, 74)
HSL Code hsl(130, 41%, 40%)

#3c8e4a Color Syntax

rgb()

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

 main {
    background-color: rgb(60, 142, 74);
   }

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(130, 41%, 40%);
  }

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 #3c8e4a

RGB Code Hex Code Preview
rgb(60, 142, 74, 10%) #3c8e4a1a  
rgb(60, 142, 74, 20%) #3c8e4a33  
rgb(60, 142, 74, 40%) #3c8e4a4C  
rgb(60, 142, 74, 60%) #3c8e4a99  
rgb(60, 142, 74, 80%) #3c8e4aCC  
rgb(60, 142, 74, 100%) #3c8e4aFF  

Saturated and desaturated colors of #3c8e4a

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

#3c8e4a Color Usage In CSS

 body {
    color: #3c8e4a;
    }
 p {
    color: rgb(60, 142, 74);
    }
 header {
    border-bottom:1px solid #3c8e4a;
    }
Recent Random Colors