Random Color Generator

#b5aa6a Color

Color Codes
Hex Code #b5aa6a
RGB Code rgb(181, 170, 106)
HSL Code hsl(51, 34%, 56%)

#b5aa6a Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 170, 106);
   }

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(51, 34%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(181, 170, 106, 10%) #b5aa6a1a  
rgb(181, 170, 106, 20%) #b5aa6a33  
rgb(181, 170, 106, 40%) #b5aa6a4C  
rgb(181, 170, 106, 60%) #b5aa6a99  
rgb(181, 170, 106, 80%) #b5aa6aCC  
rgb(181, 170, 106, 100%) #b5aa6aFF  

Saturated and desaturated colors of #b5aa6a

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

#b5aa6a Color Usage In CSS

 body {
    color: #b5aa6a;
    }
 p {
    color: rgb(181, 170, 106);
    }
 header {
    border-bottom:1px solid #b5aa6a;
    }
Recent Random Colors