Random Color Generator

#b9b046 Color

Color Codes
Hex Code #b9b046
RGB Code rgb(185, 176, 70)
HSL Code hsl(55, 45%, 50%)

#b9b046 Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 176, 70);
   }

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(55, 45%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(185, 176, 70, 10%) #b9b0461a  
rgb(185, 176, 70, 20%) #b9b04633  
rgb(185, 176, 70, 40%) #b9b0464C  
rgb(185, 176, 70, 60%) #b9b04699  
rgb(185, 176, 70, 80%) #b9b046CC  
rgb(185, 176, 70, 100%) #b9b046FF  

Saturated and desaturated colors of #b9b046

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

#b9b046 Color Usage In CSS

 body {
    color: #b9b046;
    }
 p {
    color: rgb(185, 176, 70);
    }
 header {
    border-bottom:1px solid #b9b046;
    }
Recent Random Colors