Random Color Generator

#b49e20 Color

Color Codes
Hex Code #b49e20
RGB Code rgb(180, 158, 32)
HSL Code hsl(51, 70%, 42%)

#b49e20 Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 158, 32);
   }

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(51, 70%, 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 #b49e20

RGB Code Hex Code Preview
rgb(180, 158, 32, 10%) #b49e201a  
rgb(180, 158, 32, 20%) #b49e2033  
rgb(180, 158, 32, 40%) #b49e204C  
rgb(180, 158, 32, 60%) #b49e2099  
rgb(180, 158, 32, 80%) #b49e20CC  
rgb(180, 158, 32, 100%) #b49e20FF  

Saturated and desaturated colors of #b49e20

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

#b49e20 Color Usage In CSS

 body {
    color: #b49e20;
    }
 p {
    color: rgb(180, 158, 32);
    }
 header {
    border-bottom:1px solid #b49e20;
    }
Recent Random Colors