Random Color Generator

#3a9946 Color

Color Codes
Hex Code #3a9946
RGB Code rgb(58, 153, 70)
HSL Code hsl(128, 45%, 41%)

#3a9946 Color Syntax

rgb()

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

 main {
    background-color: rgb(58, 153, 70);
   }

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(128, 45%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(58, 153, 70, 10%) #3a99461a  
rgb(58, 153, 70, 20%) #3a994633  
rgb(58, 153, 70, 40%) #3a99464C  
rgb(58, 153, 70, 60%) #3a994699  
rgb(58, 153, 70, 80%) #3a9946CC  
rgb(58, 153, 70, 100%) #3a9946FF  

Saturated and desaturated colors of #3a9946

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

#3a9946 Color Usage In CSS

 body {
    color: #3a9946;
    }
 p {
    color: rgb(58, 153, 70);
    }
 header {
    border-bottom:1px solid #3a9946;
    }
Recent Random Colors