Random Color Generator

#a5cc1e Color

Color Codes
Hex Code #a5cc1e
RGB Code rgb(165, 204, 30)
HSL Code hsl(73, 74%, 46%)

#a5cc1e Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 204, 30);
   }

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(73, 74%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(165, 204, 30, 10%) #a5cc1e1a  
rgb(165, 204, 30, 20%) #a5cc1e33  
rgb(165, 204, 30, 40%) #a5cc1e4C  
rgb(165, 204, 30, 60%) #a5cc1e99  
rgb(165, 204, 30, 80%) #a5cc1eCC  
rgb(165, 204, 30, 100%) #a5cc1eFF  

Saturated and desaturated colors of #a5cc1e

HSL Code Preview
hsl(73, 10%, 46%)  
hsl(73, 20%, 46%)  
hsl(73, 40%, 46%)  
hsl(73, 60%, 46%)  
hsl(73, 80%, 46%)  
hsl(73, 100%, 46%)  

#a5cc1e Color Usage In CSS

 body {
    color: #a5cc1e;
    }
 p {
    color: rgb(165, 204, 30);
    }
 header {
    border-bottom:1px solid #a5cc1e;
    }
Recent Random Colors