Random Color Generator

#b9d066 Color

Color Codes
Hex Code #b9d066
RGB Code rgb(185, 208, 102)
HSL Code hsl(73, 53%, 61%)

#b9d066 Color Syntax

rgb()

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

 main {
    background-color: rgb(185, 208, 102);
   }

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(73, 53%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(185, 208, 102, 10%) #b9d0661a  
rgb(185, 208, 102, 20%) #b9d06633  
rgb(185, 208, 102, 40%) #b9d0664C  
rgb(185, 208, 102, 60%) #b9d06699  
rgb(185, 208, 102, 80%) #b9d066CC  
rgb(185, 208, 102, 100%) #b9d066FF  

Saturated and desaturated colors of #b9d066

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

#b9d066 Color Usage In CSS

 body {
    color: #b9d066;
    }
 p {
    color: rgb(185, 208, 102);
    }
 header {
    border-bottom:1px solid #b9d066;
    }
Recent Random Colors