Random Color Generator

#31664e Color

Color Codes
Hex Code #31664e
RGB Code rgb(49, 102, 78)
HSL Code hsl(153, 35%, 30%)

#31664e Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 102, 78);
   }

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(153, 35%, 30%);
  }

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 #31664e

RGB Code Hex Code Preview
rgb(49, 102, 78, 10%) #31664e1a  
rgb(49, 102, 78, 20%) #31664e33  
rgb(49, 102, 78, 40%) #31664e4C  
rgb(49, 102, 78, 60%) #31664e99  
rgb(49, 102, 78, 80%) #31664eCC  
rgb(49, 102, 78, 100%) #31664eFF  

Saturated and desaturated colors of #31664e

HSL Code Preview
hsl(153, 10%, 30%)  
hsl(153, 20%, 30%)  
hsl(153, 40%, 30%)  
hsl(153, 60%, 30%)  
hsl(153, 80%, 30%)  
hsl(153, 100%, 30%)  

#31664e Color Usage In CSS

 body {
    color: #31664e;
    }
 p {
    color: rgb(49, 102, 78);
    }
 header {
    border-bottom:1px solid #31664e;
    }
Recent Random Colors