Random Color Generator

#a2da42 Color

Color Codes
Hex Code #a2da42
RGB Code rgb(162, 218, 66)
HSL Code hsl(82, 67%, 56%)

#a2da42 Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 218, 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(82, 67%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(162, 218, 66, 10%) #a2da421a  
rgb(162, 218, 66, 20%) #a2da4233  
rgb(162, 218, 66, 40%) #a2da424C  
rgb(162, 218, 66, 60%) #a2da4299  
rgb(162, 218, 66, 80%) #a2da42CC  
rgb(162, 218, 66, 100%) #a2da42FF  

Saturated and desaturated colors of #a2da42

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

#a2da42 Color Usage In CSS

 body {
    color: #a2da42;
    }
 p {
    color: rgb(162, 218, 66);
    }
 header {
    border-bottom:1px solid #a2da42;
    }
Recent Random Colors