Random Color Generator

#3b6831 Color

Color Codes
Hex Code #3b6831
RGB Code rgb(59, 104, 49)
HSL Code hsl(109, 36%, 30%)

#3b6831 Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 104, 49);
   }

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(109, 36%, 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 #3b6831

RGB Code Hex Code Preview
rgb(59, 104, 49, 10%) #3b68311a  
rgb(59, 104, 49, 20%) #3b683133  
rgb(59, 104, 49, 40%) #3b68314C  
rgb(59, 104, 49, 60%) #3b683199  
rgb(59, 104, 49, 80%) #3b6831CC  
rgb(59, 104, 49, 100%) #3b6831FF  

Saturated and desaturated colors of #3b6831

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

#3b6831 Color Usage In CSS

 body {
    color: #3b6831;
    }
 p {
    color: rgb(59, 104, 49);
    }
 header {
    border-bottom:1px solid #3b6831;
    }
Recent Random Colors