Random Color Generator

#afb70e Color

Color Codes
Hex Code #afb70e
RGB Code rgb(175, 183, 14)
HSL Code hsl(63, 86%, 39%)

#afb70e Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 183, 14);
   }

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(63, 86%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(175, 183, 14, 10%) #afb70e1a  
rgb(175, 183, 14, 20%) #afb70e33  
rgb(175, 183, 14, 40%) #afb70e4C  
rgb(175, 183, 14, 60%) #afb70e99  
rgb(175, 183, 14, 80%) #afb70eCC  
rgb(175, 183, 14, 100%) #afb70eFF  

Saturated and desaturated colors of #afb70e

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

#afb70e Color Usage In CSS

 body {
    color: #afb70e;
    }
 p {
    color: rgb(175, 183, 14);
    }
 header {
    border-bottom:1px solid #afb70e;
    }
Recent Random Colors