Random Color Generator

#a1c42e Color

Color Codes
Hex Code #a1c42e
RGB Code rgb(161, 196, 46)
HSL Code hsl(74, 62%, 47%)

#a1c42e Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 196, 46);
   }

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(74, 62%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(161, 196, 46, 10%) #a1c42e1a  
rgb(161, 196, 46, 20%) #a1c42e33  
rgb(161, 196, 46, 40%) #a1c42e4C  
rgb(161, 196, 46, 60%) #a1c42e99  
rgb(161, 196, 46, 80%) #a1c42eCC  
rgb(161, 196, 46, 100%) #a1c42eFF  

Saturated and desaturated colors of #a1c42e

HSL Code Preview
hsl(74, 10%, 47%)  
hsl(74, 20%, 47%)  
hsl(74, 40%, 47%)  
hsl(74, 60%, 47%)  
hsl(74, 80%, 47%)  
hsl(74, 100%, 47%)  

#a1c42e Color Usage In CSS

 body {
    color: #a1c42e;
    }
 p {
    color: rgb(161, 196, 46);
    }
 header {
    border-bottom:1px solid #a1c42e;
    }
Recent Random Colors