Random Color Generator

#2cc131 Color

Color Codes
Hex Code #2cc131
RGB Code rgb(44, 193, 49)
HSL Code hsl(122, 63%, 46%)

#2cc131 Color Syntax

rgb()

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

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

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(122, 63%, 46%);
  }

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 #2cc131

RGB Code Hex Code Preview
rgb(44, 193, 49, 10%) #2cc1311a  
rgb(44, 193, 49, 20%) #2cc13133  
rgb(44, 193, 49, 40%) #2cc1314C  
rgb(44, 193, 49, 60%) #2cc13199  
rgb(44, 193, 49, 80%) #2cc131CC  
rgb(44, 193, 49, 100%) #2cc131FF  

Saturated and desaturated colors of #2cc131

HSL Code Preview
hsl(122, 10%, 46%)  
hsl(122, 20%, 46%)  
hsl(122, 40%, 46%)  
hsl(122, 60%, 46%)  
hsl(122, 80%, 46%)  
hsl(122, 100%, 46%)  

#2cc131 Color Usage In CSS

 body {
    color: #2cc131;
    }
 p {
    color: rgb(44, 193, 49);
    }
 header {
    border-bottom:1px solid #2cc131;
    }
Recent Random Colors