Random Color Generator

#31d3ab Color

Color Codes
Hex Code #31d3ab
RGB Code rgb(49, 211, 171)
HSL Code hsl(165, 65%, 51%)

#31d3ab Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 211, 171);
   }

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(165, 65%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(49, 211, 171, 10%) #31d3ab1a  
rgb(49, 211, 171, 20%) #31d3ab33  
rgb(49, 211, 171, 40%) #31d3ab4C  
rgb(49, 211, 171, 60%) #31d3ab99  
rgb(49, 211, 171, 80%) #31d3abCC  
rgb(49, 211, 171, 100%) #31d3abFF  

Saturated and desaturated colors of #31d3ab

HSL Code Preview
hsl(165, 10%, 51%)  
hsl(165, 20%, 51%)  
hsl(165, 40%, 51%)  
hsl(165, 60%, 51%)  
hsl(165, 80%, 51%)  
hsl(165, 100%, 51%)  

#31d3ab Color Usage In CSS

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