Random Color Generator

#3c7b1f Color

Color Codes
Hex Code #3c7b1f
RGB Code rgb(60, 123, 31)
HSL Code hsl(101, 60%, 30%)

#3c7b1f Color Syntax

rgb()

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

 main {
    background-color: rgb(60, 123, 31);
   }

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(101, 60%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(60, 123, 31, 10%) #3c7b1f1a  
rgb(60, 123, 31, 20%) #3c7b1f33  
rgb(60, 123, 31, 40%) #3c7b1f4C  
rgb(60, 123, 31, 60%) #3c7b1f99  
rgb(60, 123, 31, 80%) #3c7b1fCC  
rgb(60, 123, 31, 100%) #3c7b1fFF  

Saturated and desaturated colors of #3c7b1f

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

#3c7b1f Color Usage In CSS

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