Random Color Generator

#a1cd37 Color

Color Codes
Hex Code #a1cd37
RGB Code rgb(161, 205, 55)
HSL Code hsl(78, 60%, 51%)

#a1cd37 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 205, 55);
   }

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(78, 60%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(161, 205, 55, 10%) #a1cd371a  
rgb(161, 205, 55, 20%) #a1cd3733  
rgb(161, 205, 55, 40%) #a1cd374C  
rgb(161, 205, 55, 60%) #a1cd3799  
rgb(161, 205, 55, 80%) #a1cd37CC  
rgb(161, 205, 55, 100%) #a1cd37FF  

Saturated and desaturated colors of #a1cd37

HSL Code Preview
hsl(78, 10%, 51%)  
hsl(78, 20%, 51%)  
hsl(78, 40%, 51%)  
hsl(78, 60%, 51%)  
hsl(78, 80%, 51%)  
hsl(78, 100%, 51%)  

#a1cd37 Color Usage In CSS

 body {
    color: #a1cd37;
    }
 p {
    color: rgb(161, 205, 55);
    }
 header {
    border-bottom:1px solid #a1cd37;
    }
Recent Random Colors