Random Color Generator

#b1d102 Color

Color Codes
Hex Code #b1d102
RGB Code rgb(177, 209, 02)
HSL Code hsl(69, 98%, 41%)

#b1d102 Color Syntax

rgb()

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

 main {
    background-color: rgb(177, 209, 02);
   }

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(69, 98%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(177, 209, 02, 10%) #b1d1021a  
rgb(177, 209, 02, 20%) #b1d10233  
rgb(177, 209, 02, 40%) #b1d1024C  
rgb(177, 209, 02, 60%) #b1d10299  
rgb(177, 209, 02, 80%) #b1d102CC  
rgb(177, 209, 02, 100%) #b1d102FF  

Saturated and desaturated colors of #b1d102

HSL Code Preview
hsl(69, 10%, 41%)  
hsl(69, 20%, 41%)  
hsl(69, 40%, 41%)  
hsl(69, 60%, 41%)  
hsl(69, 80%, 41%)  
hsl(69, 100%, 41%)  

#b1d102 Color Usage In CSS

 body {
    color: #b1d102;
    }
 p {
    color: rgb(177, 209, 02);
    }
 header {
    border-bottom:1px solid #b1d102;
    }
Recent Random Colors