Random Color Generator

#31ca79 Color

Color Codes
Hex Code #31ca79
RGB Code rgb(49, 202, 121)
HSL Code hsl(148, 61%, 49%)

#31ca79 Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 202, 121);
   }

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(148, 61%, 49%);
  }

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 #31ca79

RGB Code Hex Code Preview
rgb(49, 202, 121, 10%) #31ca791a  
rgb(49, 202, 121, 20%) #31ca7933  
rgb(49, 202, 121, 40%) #31ca794C  
rgb(49, 202, 121, 60%) #31ca7999  
rgb(49, 202, 121, 80%) #31ca79CC  
rgb(49, 202, 121, 100%) #31ca79FF  

Saturated and desaturated colors of #31ca79

HSL Code Preview
hsl(148, 10%, 49%)  
hsl(148, 20%, 49%)  
hsl(148, 40%, 49%)  
hsl(148, 60%, 49%)  
hsl(148, 80%, 49%)  
hsl(148, 100%, 49%)  

#31ca79 Color Usage In CSS

 body {
    color: #31ca79;
    }
 p {
    color: rgb(49, 202, 121);
    }
 header {
    border-bottom:1px solid #31ca79;
    }
Recent Random Colors