Random Color Generator

#9c8371 Color

Color Codes
Hex Code #9c8371
RGB Code rgb(156, 131, 113)
HSL Code hsl(25, 18%, 53%)

#9c8371 Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 131, 113);
   }

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(25, 18%, 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 #9c8371

RGB Code Hex Code Preview
rgb(156, 131, 113, 10%) #9c83711a  
rgb(156, 131, 113, 20%) #9c837133  
rgb(156, 131, 113, 40%) #9c83714C  
rgb(156, 131, 113, 60%) #9c837199  
rgb(156, 131, 113, 80%) #9c8371CC  
rgb(156, 131, 113, 100%) #9c8371FF  

Saturated and desaturated colors of #9c8371

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

#9c8371 Color Usage In CSS

 body {
    color: #9c8371;
    }
 p {
    color: rgb(156, 131, 113);
    }
 header {
    border-bottom:1px solid #9c8371;
    }
Recent Random Colors