Random Color Generator

#b2f338 Color

Color Codes
Hex Code #b2f338
RGB Code rgb(178, 243, 56)
HSL Code hsl(81, 89%, 59%)

#b2f338 Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 243, 56);
   }

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(81, 89%, 59%);
  }

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

RGB Code Hex Code Preview
rgb(178, 243, 56, 10%) #b2f3381a  
rgb(178, 243, 56, 20%) #b2f33833  
rgb(178, 243, 56, 40%) #b2f3384C  
rgb(178, 243, 56, 60%) #b2f33899  
rgb(178, 243, 56, 80%) #b2f338CC  
rgb(178, 243, 56, 100%) #b2f338FF  

Saturated and desaturated colors of #b2f338

HSL Code Preview
hsl(81, 10%, 59%)  
hsl(81, 20%, 59%)  
hsl(81, 40%, 59%)  
hsl(81, 60%, 59%)  
hsl(81, 80%, 59%)  
hsl(81, 100%, 59%)  

#b2f338 Color Usage In CSS

 body {
    color: #b2f338;
    }
 p {
    color: rgb(178, 243, 56);
    }
 header {
    border-bottom:1px solid #b2f338;
    }
Recent Random Colors