Random Color Generator

#3b880c Color

Color Codes
Hex Code #3b880c
RGB Code rgb(59, 136, 12)
HSL Code hsl(97, 84%, 29%)

#3b880c Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 136, 12);
   }

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(97, 84%, 29%);
  }

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

RGB Code Hex Code Preview
rgb(59, 136, 12, 10%) #3b880c1a  
rgb(59, 136, 12, 20%) #3b880c33  
rgb(59, 136, 12, 40%) #3b880c4C  
rgb(59, 136, 12, 60%) #3b880c99  
rgb(59, 136, 12, 80%) #3b880cCC  
rgb(59, 136, 12, 100%) #3b880cFF  

Saturated and desaturated colors of #3b880c

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

#3b880c Color Usage In CSS

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