Random Color Generator

#2dc145 Color

Color Codes
Hex Code #2dc145
RGB Code rgb(45, 193, 69)
HSL Code hsl(130, 62%, 47%)

#2dc145 Color Syntax

rgb()

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

 main {
    background-color: rgb(45, 193, 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(130, 62%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(45, 193, 69, 10%) #2dc1451a  
rgb(45, 193, 69, 20%) #2dc14533  
rgb(45, 193, 69, 40%) #2dc1454C  
rgb(45, 193, 69, 60%) #2dc14599  
rgb(45, 193, 69, 80%) #2dc145CC  
rgb(45, 193, 69, 100%) #2dc145FF  

Saturated and desaturated colors of #2dc145

HSL Code Preview
hsl(130, 10%, 47%)  
hsl(130, 20%, 47%)  
hsl(130, 40%, 47%)  
hsl(130, 60%, 47%)  
hsl(130, 80%, 47%)  
hsl(130, 100%, 47%)  

#2dc145 Color Usage In CSS

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