Random Color Generator

#afea0d Color

Color Codes
Hex Code #afea0d
RGB Code rgb(175, 234, 13)
HSL Code hsl(76, 89%, 48%)

#afea0d Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 234, 13);
   }

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(76, 89%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(175, 234, 13, 10%) #afea0d1a  
rgb(175, 234, 13, 20%) #afea0d33  
rgb(175, 234, 13, 40%) #afea0d4C  
rgb(175, 234, 13, 60%) #afea0d99  
rgb(175, 234, 13, 80%) #afea0dCC  
rgb(175, 234, 13, 100%) #afea0dFF  

Saturated and desaturated colors of #afea0d

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

#afea0d Color Usage In CSS

 body {
    color: #afea0d;
    }
 p {
    color: rgb(175, 234, 13);
    }
 header {
    border-bottom:1px solid #afea0d;
    }
Recent Random Colors