Random Color Generator

#ba9438 Color

Color Codes
Hex Code #ba9438
RGB Code rgb(186, 148, 56)
HSL Code hsl(42, 54%, 47%)

#ba9438 Color Syntax

rgb()

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

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

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(42, 54%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(186, 148, 56, 10%) #ba94381a  
rgb(186, 148, 56, 20%) #ba943833  
rgb(186, 148, 56, 40%) #ba94384C  
rgb(186, 148, 56, 60%) #ba943899  
rgb(186, 148, 56, 80%) #ba9438CC  
rgb(186, 148, 56, 100%) #ba9438FF  

Saturated and desaturated colors of #ba9438

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

#ba9438 Color Usage In CSS

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