Random Color Generator

#ba8e48 Color

Color Codes
Hex Code #ba8e48
RGB Code rgb(186, 142, 72)
HSL Code hsl(37, 45%, 51%)

#ba8e48 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 142, 72);
   }

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(37, 45%, 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 #ba8e48

RGB Code Hex Code Preview
rgb(186, 142, 72, 10%) #ba8e481a  
rgb(186, 142, 72, 20%) #ba8e4833  
rgb(186, 142, 72, 40%) #ba8e484C  
rgb(186, 142, 72, 60%) #ba8e4899  
rgb(186, 142, 72, 80%) #ba8e48CC  
rgb(186, 142, 72, 100%) #ba8e48FF  

Saturated and desaturated colors of #ba8e48

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

#ba8e48 Color Usage In CSS

 body {
    color: #ba8e48;
    }
 p {
    color: rgb(186, 142, 72);
    }
 header {
    border-bottom:1px solid #ba8e48;
    }
Recent Random Colors