Random Color Generator

#31df96 Color

Color Codes
Hex Code #31df96
RGB Code rgb(49, 223, 150)
HSL Code hsl(155, 73%, 53%)

#31df96 Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 223, 150);
   }

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(155, 73%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(49, 223, 150, 10%) #31df961a  
rgb(49, 223, 150, 20%) #31df9633  
rgb(49, 223, 150, 40%) #31df964C  
rgb(49, 223, 150, 60%) #31df9699  
rgb(49, 223, 150, 80%) #31df96CC  
rgb(49, 223, 150, 100%) #31df96FF  

Saturated and desaturated colors of #31df96

HSL Code Preview
hsl(155, 10%, 53%)  
hsl(155, 20%, 53%)  
hsl(155, 40%, 53%)  
hsl(155, 60%, 53%)  
hsl(155, 80%, 53%)  
hsl(155, 100%, 53%)  

#31df96 Color Usage In CSS

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