Random Color Generator

#2bc981 Color

Color Codes
Hex Code #2bc981
RGB Code rgb(43, 201, 129)
HSL Code hsl(153, 65%, 48%)

#2bc981 Color Syntax

rgb()

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

 main {
    background-color: rgb(43, 201, 129);
   }

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(153, 65%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(43, 201, 129, 10%) #2bc9811a  
rgb(43, 201, 129, 20%) #2bc98133  
rgb(43, 201, 129, 40%) #2bc9814C  
rgb(43, 201, 129, 60%) #2bc98199  
rgb(43, 201, 129, 80%) #2bc981CC  
rgb(43, 201, 129, 100%) #2bc981FF  

Saturated and desaturated colors of #2bc981

HSL Code Preview
hsl(153, 10%, 48%)  
hsl(153, 20%, 48%)  
hsl(153, 40%, 48%)  
hsl(153, 60%, 48%)  
hsl(153, 80%, 48%)  
hsl(153, 100%, 48%)  

#2bc981 Color Usage In CSS

 body {
    color: #2bc981;
    }
 p {
    color: rgb(43, 201, 129);
    }
 header {
    border-bottom:1px solid #2bc981;
    }
Recent Random Colors