Random Color Generator

#3b8c62 Color

Color Codes
Hex Code #3b8c62
RGB Code rgb(59, 140, 98)
HSL Code hsl(149, 41%, 39%)

#3b8c62 Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 140, 98);
   }

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(149, 41%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(59, 140, 98, 10%) #3b8c621a  
rgb(59, 140, 98, 20%) #3b8c6233  
rgb(59, 140, 98, 40%) #3b8c624C  
rgb(59, 140, 98, 60%) #3b8c6299  
rgb(59, 140, 98, 80%) #3b8c62CC  
rgb(59, 140, 98, 100%) #3b8c62FF  

Saturated and desaturated colors of #3b8c62

HSL Code Preview
hsl(149, 10%, 39%)  
hsl(149, 20%, 39%)  
hsl(149, 40%, 39%)  
hsl(149, 60%, 39%)  
hsl(149, 80%, 39%)  
hsl(149, 100%, 39%)  

#3b8c62 Color Usage In CSS

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