Random Color Generator

#ba8f1e Color

Color Codes
Hex Code #ba8f1e
RGB Code rgb(186, 143, 30)
HSL Code hsl(43, 72%, 42%)

#ba8f1e Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 143, 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(43, 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 #ba8f1e

RGB Code Hex Code Preview
rgb(186, 143, 30, 10%) #ba8f1e1a  
rgb(186, 143, 30, 20%) #ba8f1e33  
rgb(186, 143, 30, 40%) #ba8f1e4C  
rgb(186, 143, 30, 60%) #ba8f1e99  
rgb(186, 143, 30, 80%) #ba8f1eCC  
rgb(186, 143, 30, 100%) #ba8f1eFF  

Saturated and desaturated colors of #ba8f1e

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

#ba8f1e Color Usage In CSS

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