Random Color Generator

#a8851e Color

Color Codes
Hex Code #a8851e
RGB Code rgb(168, 133, 30)
HSL Code hsl(45, 70%, 39%)

#a8851e Color Syntax

rgb()

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

 main {
    background-color: rgb(168, 133, 30);
   }

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(45, 70%, 39%);
  }

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 #a8851e

RGB Code Hex Code Preview
rgb(168, 133, 30, 10%) #a8851e1a  
rgb(168, 133, 30, 20%) #a8851e33  
rgb(168, 133, 30, 40%) #a8851e4C  
rgb(168, 133, 30, 60%) #a8851e99  
rgb(168, 133, 30, 80%) #a8851eCC  
rgb(168, 133, 30, 100%) #a8851eFF  

Saturated and desaturated colors of #a8851e

HSL Code Preview
hsl(45, 10%, 39%)  
hsl(45, 20%, 39%)  
hsl(45, 40%, 39%)  
hsl(45, 60%, 39%)  
hsl(45, 80%, 39%)  
hsl(45, 100%, 39%)  

#a8851e Color Usage In CSS

 body {
    color: #a8851e;
    }
 p {
    color: rgb(168, 133, 30);
    }
 header {
    border-bottom:1px solid #a8851e;
    }
Recent Random Colors