Random Color Generator

#56c156 Color

Color Codes
Hex Code #56c156
RGB Code rgb(86, 193, 86)
HSL Code hsl(120, 46%, 55%)

#56c156 Color Syntax

rgb()

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

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

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(120, 46%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(86, 193, 86, 10%) #56c1561a  
rgb(86, 193, 86, 20%) #56c15633  
rgb(86, 193, 86, 40%) #56c1564C  
rgb(86, 193, 86, 60%) #56c15699  
rgb(86, 193, 86, 80%) #56c156CC  
rgb(86, 193, 86, 100%) #56c156FF  

Saturated and desaturated colors of #56c156

HSL Code Preview
hsl(120, 10%, 55%)  
hsl(120, 20%, 55%)  
hsl(120, 40%, 55%)  
hsl(120, 60%, 55%)  
hsl(120, 80%, 55%)  
hsl(120, 100%, 55%)  

#56c156 Color Usage In CSS

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