Random Color Generator

#2ad6a1 Color

Color Codes
Hex Code #2ad6a1
RGB Code rgb(42, 214, 161)
HSL Code hsl(162, 68%, 50%)

#2ad6a1 Color Syntax

rgb()

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

 main {
    background-color: rgb(42, 214, 161);
   }

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(162, 68%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(42, 214, 161, 10%) #2ad6a11a  
rgb(42, 214, 161, 20%) #2ad6a133  
rgb(42, 214, 161, 40%) #2ad6a14C  
rgb(42, 214, 161, 60%) #2ad6a199  
rgb(42, 214, 161, 80%) #2ad6a1CC  
rgb(42, 214, 161, 100%) #2ad6a1FF  

Saturated and desaturated colors of #2ad6a1

HSL Code Preview
hsl(162, 10%, 50%)  
hsl(162, 20%, 50%)  
hsl(162, 40%, 50%)  
hsl(162, 60%, 50%)  
hsl(162, 80%, 50%)  
hsl(162, 100%, 50%)  

#2ad6a1 Color Usage In CSS

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