Random Color Generator

#3f7328 Color

Color Codes
Hex Code #3f7328
RGB Code rgb(63, 115, 40)
HSL Code hsl(102, 48%, 30%)

#3f7328 Color Syntax

rgb()

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

 main {
    background-color: rgb(63, 115, 40);
   }

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(102, 48%, 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 #3f7328

RGB Code Hex Code Preview
rgb(63, 115, 40, 10%) #3f73281a  
rgb(63, 115, 40, 20%) #3f732833  
rgb(63, 115, 40, 40%) #3f73284C  
rgb(63, 115, 40, 60%) #3f732899  
rgb(63, 115, 40, 80%) #3f7328CC  
rgb(63, 115, 40, 100%) #3f7328FF  

Saturated and desaturated colors of #3f7328

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

#3f7328 Color Usage In CSS

 body {
    color: #3f7328;
    }
 p {
    color: rgb(63, 115, 40);
    }
 header {
    border-bottom:1px solid #3f7328;
    }
Recent Random Colors