Random Color Generator

#b1d522 Color

Color Codes
Hex Code #b1d522
RGB Code rgb(177, 213, 34)
HSL Code hsl(72, 72%, 48%)

#b1d522 Color Syntax

rgb()

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

 main {
    background-color: rgb(177, 213, 34);
   }

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

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

RGB Code Hex Code Preview
rgb(177, 213, 34, 10%) #b1d5221a  
rgb(177, 213, 34, 20%) #b1d52233  
rgb(177, 213, 34, 40%) #b1d5224C  
rgb(177, 213, 34, 60%) #b1d52299  
rgb(177, 213, 34, 80%) #b1d522CC  
rgb(177, 213, 34, 100%) #b1d522FF  

Saturated and desaturated colors of #b1d522

HSL Code Preview
hsl(72, 10%, 48%)  
hsl(72, 20%, 48%)  
hsl(72, 40%, 48%)  
hsl(72, 60%, 48%)  
hsl(72, 80%, 48%)  
hsl(72, 100%, 48%)  

#b1d522 Color Usage In CSS

 body {
    color: #b1d522;
    }
 p {
    color: rgb(177, 213, 34);
    }
 header {
    border-bottom:1px solid #b1d522;
    }
Recent Random Colors