Random Color Generator

#31432c Color

Color Codes
Hex Code #31432c
RGB Code rgb(49, 67, 44)
HSL Code hsl(107, 21%, 22%)

#31432c Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 67, 44);
   }

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(107, 21%, 22%);
  }

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 #31432c

RGB Code Hex Code Preview
rgb(49, 67, 44, 10%) #31432c1a  
rgb(49, 67, 44, 20%) #31432c33  
rgb(49, 67, 44, 40%) #31432c4C  
rgb(49, 67, 44, 60%) #31432c99  
rgb(49, 67, 44, 80%) #31432cCC  
rgb(49, 67, 44, 100%) #31432cFF  

Saturated and desaturated colors of #31432c

HSL Code Preview
hsl(107, 10%, 22%)  
hsl(107, 20%, 22%)  
hsl(107, 40%, 22%)  
hsl(107, 60%, 22%)  
hsl(107, 80%, 22%)  
hsl(107, 100%, 22%)  

#31432c Color Usage In CSS

 body {
    color: #31432c;
    }
 p {
    color: rgb(49, 67, 44);
    }
 header {
    border-bottom:1px solid #31432c;
    }
Recent Random Colors