Random Color Generator

#47b752 Color

Color Codes
Hex Code #47b752
RGB Code rgb(71, 183, 82)
HSL Code hsl(126, 44%, 50%)

#47b752 Color Syntax

rgb()

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

 main {
    background-color: rgb(71, 183, 82);
   }

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(126, 44%, 50%);
  }

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 #47b752

RGB Code Hex Code Preview
rgb(71, 183, 82, 10%) #47b7521a  
rgb(71, 183, 82, 20%) #47b75233  
rgb(71, 183, 82, 40%) #47b7524C  
rgb(71, 183, 82, 60%) #47b75299  
rgb(71, 183, 82, 80%) #47b752CC  
rgb(71, 183, 82, 100%) #47b752FF  

Saturated and desaturated colors of #47b752

HSL Code Preview
hsl(126, 10%, 50%)  
hsl(126, 20%, 50%)  
hsl(126, 40%, 50%)  
hsl(126, 60%, 50%)  
hsl(126, 80%, 50%)  
hsl(126, 100%, 50%)  

#47b752 Color Usage In CSS

 body {
    color: #47b752;
    }
 p {
    color: rgb(71, 183, 82);
    }
 header {
    border-bottom:1px solid #47b752;
    }
Recent Random Colors