Random Color Generator

#b5ab57 Color

Color Codes
Hex Code #b5ab57
RGB Code rgb(181, 171, 87)
HSL Code hsl(54, 39%, 53%)

#b5ab57 Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 171, 87);
   }

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, 39%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(181, 171, 87, 10%) #b5ab571a  
rgb(181, 171, 87, 20%) #b5ab5733  
rgb(181, 171, 87, 40%) #b5ab574C  
rgb(181, 171, 87, 60%) #b5ab5799  
rgb(181, 171, 87, 80%) #b5ab57CC  
rgb(181, 171, 87, 100%) #b5ab57FF  

Saturated and desaturated colors of #b5ab57

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

#b5ab57 Color Usage In CSS

 body {
    color: #b5ab57;
    }
 p {
    color: rgb(181, 171, 87);
    }
 header {
    border-bottom:1px solid #b5ab57;
    }
Recent Random Colors