Random Color Generator

#a2f56b Color

Color Codes
Hex Code #a2f56b
RGB Code rgb(162, 245, 107)
HSL Code hsl(96, 87%, 69%)

#a2f56b Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 245, 107);
   }

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(96, 87%, 69%);
  }

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

RGB Code Hex Code Preview
rgb(162, 245, 107, 10%) #a2f56b1a  
rgb(162, 245, 107, 20%) #a2f56b33  
rgb(162, 245, 107, 40%) #a2f56b4C  
rgb(162, 245, 107, 60%) #a2f56b99  
rgb(162, 245, 107, 80%) #a2f56bCC  
rgb(162, 245, 107, 100%) #a2f56bFF  

Saturated and desaturated colors of #a2f56b

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

#a2f56b Color Usage In CSS

 body {
    color: #a2f56b;
    }
 p {
    color: rgb(162, 245, 107);
    }
 header {
    border-bottom:1px solid #a2f56b;
    }
Recent Random Colors