Random Color Generator

#2ab95c Color

Color Codes
Hex Code #2ab95c
RGB Code rgb(42, 185, 92)
HSL Code hsl(141, 63%, 45%)

#2ab95c Color Syntax

rgb()

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

 main {
    background-color: rgb(42, 185, 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(141, 63%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(42, 185, 92, 10%) #2ab95c1a  
rgb(42, 185, 92, 20%) #2ab95c33  
rgb(42, 185, 92, 40%) #2ab95c4C  
rgb(42, 185, 92, 60%) #2ab95c99  
rgb(42, 185, 92, 80%) #2ab95cCC  
rgb(42, 185, 92, 100%) #2ab95cFF  

Saturated and desaturated colors of #2ab95c

HSL Code Preview
hsl(141, 10%, 45%)  
hsl(141, 20%, 45%)  
hsl(141, 40%, 45%)  
hsl(141, 60%, 45%)  
hsl(141, 80%, 45%)  
hsl(141, 100%, 45%)  

#2ab95c Color Usage In CSS

 body {
    color: #2ab95c;
    }
 p {
    color: rgb(42, 185, 92);
    }
 header {
    border-bottom:1px solid #2ab95c;
    }
Recent Random Colors