Random Color Generator

#56b945 Color

Color Codes
Hex Code #56b945
RGB Code rgb(86, 185, 69)
HSL Code hsl(111, 46%, 50%)

#56b945 Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 185, 69);
   }

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(111, 46%, 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 #56b945

RGB Code Hex Code Preview
rgb(86, 185, 69, 10%) #56b9451a  
rgb(86, 185, 69, 20%) #56b94533  
rgb(86, 185, 69, 40%) #56b9454C  
rgb(86, 185, 69, 60%) #56b94599  
rgb(86, 185, 69, 80%) #56b945CC  
rgb(86, 185, 69, 100%) #56b945FF  

Saturated and desaturated colors of #56b945

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

#56b945 Color Usage In CSS

 body {
    color: #56b945;
    }
 p {
    color: rgb(86, 185, 69);
    }
 header {
    border-bottom:1px solid #56b945;
    }
Recent Random Colors