Random Color Generator

#b2fa42 Color

Color Codes
Hex Code #b2fa42
RGB Code rgb(178, 250, 66)
HSL Code hsl(83, 95%, 62%)

#b2fa42 Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 250, 66);
   }

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(83, 95%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(178, 250, 66, 10%) #b2fa421a  
rgb(178, 250, 66, 20%) #b2fa4233  
rgb(178, 250, 66, 40%) #b2fa424C  
rgb(178, 250, 66, 60%) #b2fa4299  
rgb(178, 250, 66, 80%) #b2fa42CC  
rgb(178, 250, 66, 100%) #b2fa42FF  

Saturated and desaturated colors of #b2fa42

HSL Code Preview
hsl(83, 10%, 62%)  
hsl(83, 20%, 62%)  
hsl(83, 40%, 62%)  
hsl(83, 60%, 62%)  
hsl(83, 80%, 62%)  
hsl(83, 100%, 62%)  

#b2fa42 Color Usage In CSS

 body {
    color: #b2fa42;
    }
 p {
    color: rgb(178, 250, 66);
    }
 header {
    border-bottom:1px solid #b2fa42;
    }
Recent Random Colors