Random Color Generator

#a2f907 Color

Color Codes
Hex Code #a2f907
RGB Code rgb(162, 249, 07)
HSL Code hsl(82, 95%, 50%)

#a2f907 Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 249, 07);
   }

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(82, 95%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(162, 249, 07, 10%) #a2f9071a  
rgb(162, 249, 07, 20%) #a2f90733  
rgb(162, 249, 07, 40%) #a2f9074C  
rgb(162, 249, 07, 60%) #a2f90799  
rgb(162, 249, 07, 80%) #a2f907CC  
rgb(162, 249, 07, 100%) #a2f907FF  

Saturated and desaturated colors of #a2f907

HSL Code Preview
hsl(82, 10%, 50%)  
hsl(82, 20%, 50%)  
hsl(82, 40%, 50%)  
hsl(82, 60%, 50%)  
hsl(82, 80%, 50%)  
hsl(82, 100%, 50%)  

#a2f907 Color Usage In CSS

 body {
    color: #a2f907;
    }
 p {
    color: rgb(162, 249, 07);
    }
 header {
    border-bottom:1px solid #a2f907;
    }
Recent Random Colors