Random Color Generator

#ab942c Color

Color Codes
Hex Code #ab942c
RGB Code rgb(171, 148, 44)
HSL Code hsl(49, 59%, 42%)

#ab942c Color Syntax

rgb()

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

 main {
    background-color: rgb(171, 148, 44);
   }

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(49, 59%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(171, 148, 44, 10%) #ab942c1a  
rgb(171, 148, 44, 20%) #ab942c33  
rgb(171, 148, 44, 40%) #ab942c4C  
rgb(171, 148, 44, 60%) #ab942c99  
rgb(171, 148, 44, 80%) #ab942cCC  
rgb(171, 148, 44, 100%) #ab942cFF  

Saturated and desaturated colors of #ab942c

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

#ab942c Color Usage In CSS

 body {
    color: #ab942c;
    }
 p {
    color: rgb(171, 148, 44);
    }
 header {
    border-bottom:1px solid #ab942c;
    }
Recent Random Colors