Random Color Generator

#bfc240 Color

Color Codes
Hex Code #bfc240
RGB Code rgb(191, 194, 64)
HSL Code hsl(61, 52%, 51%)

#bfc240 Color Syntax

rgb()

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

 main {
    background-color: rgb(191, 194, 64);
   }

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(61, 52%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(191, 194, 64, 10%) #bfc2401a  
rgb(191, 194, 64, 20%) #bfc24033  
rgb(191, 194, 64, 40%) #bfc2404C  
rgb(191, 194, 64, 60%) #bfc24099  
rgb(191, 194, 64, 80%) #bfc240CC  
rgb(191, 194, 64, 100%) #bfc240FF  

Saturated and desaturated colors of #bfc240

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

#bfc240 Color Usage In CSS

 body {
    color: #bfc240;
    }
 p {
    color: rgb(191, 194, 64);
    }
 header {
    border-bottom:1px solid #bfc240;
    }
Recent Random Colors