Random Color Generator

#af9903 Color

Color Codes
Hex Code #af9903
RGB Code rgb(175, 153, 03)
HSL Code hsl(52, 97%, 35%)

#af9903 Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 153, 03);
   }

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(52, 97%, 35%);
  }

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

RGB Code Hex Code Preview
rgb(175, 153, 03, 10%) #af99031a  
rgb(175, 153, 03, 20%) #af990333  
rgb(175, 153, 03, 40%) #af99034C  
rgb(175, 153, 03, 60%) #af990399  
rgb(175, 153, 03, 80%) #af9903CC  
rgb(175, 153, 03, 100%) #af9903FF  

Saturated and desaturated colors of #af9903

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

#af9903 Color Usage In CSS

 body {
    color: #af9903;
    }
 p {
    color: rgb(175, 153, 03);
    }
 header {
    border-bottom:1px solid #af9903;
    }
Recent Random Colors