Random Color Generator

#8f996e Color

Color Codes
Hex Code #8f996e
RGB Code rgb(143, 153, 110)
HSL Code hsl(74, 17%, 52%)

#8f996e Color Syntax

rgb()

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

 main {
    background-color: rgb(143, 153, 110);
   }

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(74, 17%, 52%);
  }

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 #8f996e

RGB Code Hex Code Preview
rgb(143, 153, 110, 10%) #8f996e1a  
rgb(143, 153, 110, 20%) #8f996e33  
rgb(143, 153, 110, 40%) #8f996e4C  
rgb(143, 153, 110, 60%) #8f996e99  
rgb(143, 153, 110, 80%) #8f996eCC  
rgb(143, 153, 110, 100%) #8f996eFF  

Saturated and desaturated colors of #8f996e

HSL Code Preview
hsl(74, 10%, 52%)  
hsl(74, 20%, 52%)  
hsl(74, 40%, 52%)  
hsl(74, 60%, 52%)  
hsl(74, 80%, 52%)  
hsl(74, 100%, 52%)  

#8f996e Color Usage In CSS

 body {
    color: #8f996e;
    }
 p {
    color: rgb(143, 153, 110);
    }
 header {
    border-bottom:1px solid #8f996e;
    }
Recent Random Colors