Random Color Generator

#b7b216 Color

Color Codes
Hex Code #b7b216
RGB Code rgb(183, 178, 22)
HSL Code hsl(58, 79%, 40%)

#b7b216 Color Syntax

rgb()

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

 main {
    background-color: rgb(183, 178, 22);
   }

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(58, 79%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(183, 178, 22, 10%) #b7b2161a  
rgb(183, 178, 22, 20%) #b7b21633  
rgb(183, 178, 22, 40%) #b7b2164C  
rgb(183, 178, 22, 60%) #b7b21699  
rgb(183, 178, 22, 80%) #b7b216CC  
rgb(183, 178, 22, 100%) #b7b216FF  

Saturated and desaturated colors of #b7b216

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

#b7b216 Color Usage In CSS

 body {
    color: #b7b216;
    }
 p {
    color: rgb(183, 178, 22);
    }
 header {
    border-bottom:1px solid #b7b216;
    }
Recent Random Colors