Random Color Generator

#afd95a Color

Color Codes
Hex Code #afd95a
RGB Code rgb(175, 217, 90)
HSL Code hsl(80, 63%, 60%)

#afd95a Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 217, 90);
   }

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(80, 63%, 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 #afd95a

RGB Code Hex Code Preview
rgb(175, 217, 90, 10%) #afd95a1a  
rgb(175, 217, 90, 20%) #afd95a33  
rgb(175, 217, 90, 40%) #afd95a4C  
rgb(175, 217, 90, 60%) #afd95a99  
rgb(175, 217, 90, 80%) #afd95aCC  
rgb(175, 217, 90, 100%) #afd95aFF  

Saturated and desaturated colors of #afd95a

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

#afd95a Color Usage In CSS

 body {
    color: #afd95a;
    }
 p {
    color: rgb(175, 217, 90);
    }
 header {
    border-bottom:1px solid #afd95a;
    }
Recent Random Colors