Random Color Generator

#b4c851 Color

Color Codes
Hex Code #b4c851
RGB Code rgb(180, 200, 81)
HSL Code hsl(70, 52%, 55%)

#b4c851 Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 200, 81);
   }

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(70, 52%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(180, 200, 81, 10%) #b4c8511a  
rgb(180, 200, 81, 20%) #b4c85133  
rgb(180, 200, 81, 40%) #b4c8514C  
rgb(180, 200, 81, 60%) #b4c85199  
rgb(180, 200, 81, 80%) #b4c851CC  
rgb(180, 200, 81, 100%) #b4c851FF  

Saturated and desaturated colors of #b4c851

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

#b4c851 Color Usage In CSS

 body {
    color: #b4c851;
    }
 p {
    color: rgb(180, 200, 81);
    }
 header {
    border-bottom:1px solid #b4c851;
    }
Recent Random Colors