Random Color Generator

#a5c074 Color

Color Codes
Hex Code #a5c074
RGB Code rgb(165, 192, 116)
HSL Code hsl(81, 38%, 60%)

#a5c074 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 192, 116);
   }

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(81, 38%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(165, 192, 116, 10%) #a5c0741a  
rgb(165, 192, 116, 20%) #a5c07433  
rgb(165, 192, 116, 40%) #a5c0744C  
rgb(165, 192, 116, 60%) #a5c07499  
rgb(165, 192, 116, 80%) #a5c074CC  
rgb(165, 192, 116, 100%) #a5c074FF  

Saturated and desaturated colors of #a5c074

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

#a5c074 Color Usage In CSS

 body {
    color: #a5c074;
    }
 p {
    color: rgb(165, 192, 116);
    }
 header {
    border-bottom:1px solid #a5c074;
    }
Recent Random Colors