Random Color Generator

#348f2a Color

Color Codes
Hex Code #348f2a
RGB Code rgb(52, 143, 42)
HSL Code hsl(114, 55%, 36%)

#348f2a Color Syntax

rgb()

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

 main {
    background-color: rgb(52, 143, 42);
   }

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(114, 55%, 36%);
  }

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 #348f2a

RGB Code Hex Code Preview
rgb(52, 143, 42, 10%) #348f2a1a  
rgb(52, 143, 42, 20%) #348f2a33  
rgb(52, 143, 42, 40%) #348f2a4C  
rgb(52, 143, 42, 60%) #348f2a99  
rgb(52, 143, 42, 80%) #348f2aCC  
rgb(52, 143, 42, 100%) #348f2aFF  

Saturated and desaturated colors of #348f2a

HSL Code Preview
hsl(114, 10%, 36%)  
hsl(114, 20%, 36%)  
hsl(114, 40%, 36%)  
hsl(114, 60%, 36%)  
hsl(114, 80%, 36%)  
hsl(114, 100%, 36%)  

#348f2a Color Usage In CSS

 body {
    color: #348f2a;
    }
 p {
    color: rgb(52, 143, 42);
    }
 header {
    border-bottom:1px solid #348f2a;
    }
Recent Random Colors