Random Color Generator

#a6a35e Color

Color Codes
Hex Code #a6a35e
RGB Code rgb(166, 163, 94)
HSL Code hsl(58, 29%, 51%)

#a6a35e Color Syntax

rgb()

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

 main {
    background-color: rgb(166, 163, 94);
   }

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(58, 29%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(166, 163, 94, 10%) #a6a35e1a  
rgb(166, 163, 94, 20%) #a6a35e33  
rgb(166, 163, 94, 40%) #a6a35e4C  
rgb(166, 163, 94, 60%) #a6a35e99  
rgb(166, 163, 94, 80%) #a6a35eCC  
rgb(166, 163, 94, 100%) #a6a35eFF  

Saturated and desaturated colors of #a6a35e

HSL Code Preview
hsl(58, 10%, 51%)  
hsl(58, 20%, 51%)  
hsl(58, 40%, 51%)  
hsl(58, 60%, 51%)  
hsl(58, 80%, 51%)  
hsl(58, 100%, 51%)  

#a6a35e Color Usage In CSS

 body {
    color: #a6a35e;
    }
 p {
    color: rgb(166, 163, 94);
    }
 header {
    border-bottom:1px solid #a6a35e;
    }
Recent Random Colors