Random Color Generator

#af9a50 Color

Color Codes
Hex Code #af9a50
RGB Code rgb(175, 154, 80)
HSL Code hsl(47, 37%, 50%)

#af9a50 Color Syntax

rgb()

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

 main {
    background-color: rgb(175, 154, 80);
   }

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(47, 37%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(175, 154, 80, 10%) #af9a501a  
rgb(175, 154, 80, 20%) #af9a5033  
rgb(175, 154, 80, 40%) #af9a504C  
rgb(175, 154, 80, 60%) #af9a5099  
rgb(175, 154, 80, 80%) #af9a50CC  
rgb(175, 154, 80, 100%) #af9a50FF  

Saturated and desaturated colors of #af9a50

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

#af9a50 Color Usage In CSS

 body {
    color: #af9a50;
    }
 p {
    color: rgb(175, 154, 80);
    }
 header {
    border-bottom:1px solid #af9a50;
    }
Recent Random Colors