Random Color Generator

#bab60c Color

Color Codes
Hex Code #bab60c
RGB Code rgb(186, 182, 12)
HSL Code hsl(59, 88%, 39%)

#bab60c Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 182, 12);
   }

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(59, 88%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(186, 182, 12, 10%) #bab60c1a  
rgb(186, 182, 12, 20%) #bab60c33  
rgb(186, 182, 12, 40%) #bab60c4C  
rgb(186, 182, 12, 60%) #bab60c99  
rgb(186, 182, 12, 80%) #bab60cCC  
rgb(186, 182, 12, 100%) #bab60cFF  

Saturated and desaturated colors of #bab60c

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

#bab60c Color Usage In CSS

 body {
    color: #bab60c;
    }
 p {
    color: rgb(186, 182, 12);
    }
 header {
    border-bottom:1px solid #bab60c;
    }
Recent Random Colors