Random Color Generator

#56a25c Color

Color Codes
Hex Code #56a25c
RGB Code rgb(86, 162, 92)
HSL Code hsl(125, 31%, 49%)

#56a25c Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 162, 92);
   }

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(125, 31%, 49%);
  }

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 #56a25c

RGB Code Hex Code Preview
rgb(86, 162, 92, 10%) #56a25c1a  
rgb(86, 162, 92, 20%) #56a25c33  
rgb(86, 162, 92, 40%) #56a25c4C  
rgb(86, 162, 92, 60%) #56a25c99  
rgb(86, 162, 92, 80%) #56a25cCC  
rgb(86, 162, 92, 100%) #56a25cFF  

Saturated and desaturated colors of #56a25c

HSL Code Preview
hsl(125, 10%, 49%)  
hsl(125, 20%, 49%)  
hsl(125, 40%, 49%)  
hsl(125, 60%, 49%)  
hsl(125, 80%, 49%)  
hsl(125, 100%, 49%)  

#56a25c Color Usage In CSS

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