Random Color Generator

#ba6e1e Color

Color Codes
Hex Code #ba6e1e
RGB Code rgb(186, 110, 30)
HSL Code hsl(31, 72%, 42%)

#ba6e1e Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 110, 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(31, 72%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(186, 110, 30, 10%) #ba6e1e1a  
rgb(186, 110, 30, 20%) #ba6e1e33  
rgb(186, 110, 30, 40%) #ba6e1e4C  
rgb(186, 110, 30, 60%) #ba6e1e99  
rgb(186, 110, 30, 80%) #ba6e1eCC  
rgb(186, 110, 30, 100%) #ba6e1eFF  

Saturated and desaturated colors of #ba6e1e

HSL Code Preview
hsl(31, 10%, 42%)  
hsl(31, 20%, 42%)  
hsl(31, 40%, 42%)  
hsl(31, 60%, 42%)  
hsl(31, 80%, 42%)  
hsl(31, 100%, 42%)  

#ba6e1e Color Usage In CSS

 body {
    color: #ba6e1e;
    }
 p {
    color: rgb(186, 110, 30);
    }
 header {
    border-bottom:1px solid #ba6e1e;
    }
Recent Random Colors