Random Color Generator

#bbab1f Color

Color Codes
Hex Code #bbab1f
RGB Code rgb(187, 171, 31)
HSL Code hsl(54, 72%, 43%)

#bbab1f Color Syntax

rgb()

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

 main {
    background-color: rgb(187, 171, 31);
   }

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(54, 72%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(187, 171, 31, 10%) #bbab1f1a  
rgb(187, 171, 31, 20%) #bbab1f33  
rgb(187, 171, 31, 40%) #bbab1f4C  
rgb(187, 171, 31, 60%) #bbab1f99  
rgb(187, 171, 31, 80%) #bbab1fCC  
rgb(187, 171, 31, 100%) #bbab1fFF  

Saturated and desaturated colors of #bbab1f

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

#bbab1f Color Usage In CSS

 body {
    color: #bbab1f;
    }
 p {
    color: rgb(187, 171, 31);
    }
 header {
    border-bottom:1px solid #bbab1f;
    }
Recent Random Colors