Random Color Generator

#ba9432 Color

Color Codes
Hex Code #ba9432
RGB Code rgb(186, 148, 50)
HSL Code hsl(43, 58%, 46%)

#ba9432 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 148, 50);
   }

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, 58%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(186, 148, 50, 10%) #ba94321a  
rgb(186, 148, 50, 20%) #ba943233  
rgb(186, 148, 50, 40%) #ba94324C  
rgb(186, 148, 50, 60%) #ba943299  
rgb(186, 148, 50, 80%) #ba9432CC  
rgb(186, 148, 50, 100%) #ba9432FF  

Saturated and desaturated colors of #ba9432

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

#ba9432 Color Usage In CSS

 body {
    color: #ba9432;
    }
 p {
    color: rgb(186, 148, 50);
    }
 header {
    border-bottom:1px solid #ba9432;
    }
Recent Random Colors