Random Color Generator

#a5c357 Color

Color Codes
Hex Code #a5c357
RGB Code rgb(165, 195, 87)
HSL Code hsl(77, 47%, 55%)

#a5c357 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 195, 87);
   }

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(77, 47%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(165, 195, 87, 10%) #a5c3571a  
rgb(165, 195, 87, 20%) #a5c35733  
rgb(165, 195, 87, 40%) #a5c3574C  
rgb(165, 195, 87, 60%) #a5c35799  
rgb(165, 195, 87, 80%) #a5c357CC  
rgb(165, 195, 87, 100%) #a5c357FF  

Saturated and desaturated colors of #a5c357

HSL Code Preview
hsl(77, 10%, 55%)  
hsl(77, 20%, 55%)  
hsl(77, 40%, 55%)  
hsl(77, 60%, 55%)  
hsl(77, 80%, 55%)  
hsl(77, 100%, 55%)  

#a5c357 Color Usage In CSS

 body {
    color: #a5c357;
    }
 p {
    color: rgb(165, 195, 87);
    }
 header {
    border-bottom:1px solid #a5c357;
    }
Recent Random Colors