Random Color Generator

#a2c400 Color

Color Codes
Hex Code #a2c400
RGB Code rgb(162, 196, 00)
HSL Code hsl(70, 100%, 38%)

#a2c400 Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 196, 00);
   }

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(70, 100%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(162, 196, 00, 10%) #a2c4001a  
rgb(162, 196, 00, 20%) #a2c40033  
rgb(162, 196, 00, 40%) #a2c4004C  
rgb(162, 196, 00, 60%) #a2c40099  
rgb(162, 196, 00, 80%) #a2c400CC  
rgb(162, 196, 00, 100%) #a2c400FF  

Saturated and desaturated colors of #a2c400

HSL Code Preview
hsl(70, 10%, 38%)  
hsl(70, 20%, 38%)  
hsl(70, 40%, 38%)  
hsl(70, 60%, 38%)  
hsl(70, 80%, 38%)  
hsl(70, 100%, 38%)  

#a2c400 Color Usage In CSS

 body {
    color: #a2c400;
    }
 p {
    color: rgb(162, 196, 00);
    }
 header {
    border-bottom:1px solid #a2c400;
    }
Recent Random Colors