Random Color Generator

#9c9552 Color

Color Codes
Hex Code #9c9552
RGB Code rgb(156, 149, 82)
HSL Code hsl(54, 31%, 47%)

#9c9552 Color Syntax

rgb()

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

 main {
    background-color: rgb(156, 149, 82);
   }

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(54, 31%, 47%);
  }

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 #9c9552

RGB Code Hex Code Preview
rgb(156, 149, 82, 10%) #9c95521a  
rgb(156, 149, 82, 20%) #9c955233  
rgb(156, 149, 82, 40%) #9c95524C  
rgb(156, 149, 82, 60%) #9c955299  
rgb(156, 149, 82, 80%) #9c9552CC  
rgb(156, 149, 82, 100%) #9c9552FF  

Saturated and desaturated colors of #9c9552

HSL Code Preview
hsl(54, 10%, 47%)  
hsl(54, 20%, 47%)  
hsl(54, 40%, 47%)  
hsl(54, 60%, 47%)  
hsl(54, 80%, 47%)  
hsl(54, 100%, 47%)  

#9c9552 Color Usage In CSS

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