Random Color Generator

#ab8226 Color

Color Codes
Hex Code #ab8226
RGB Code rgb(171, 130, 38)
HSL Code hsl(42, 64%, 41%)

#ab8226 Color Syntax

rgb()

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

 main {
    background-color: rgb(171, 130, 38);
   }

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(42, 64%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(171, 130, 38, 10%) #ab82261a  
rgb(171, 130, 38, 20%) #ab822633  
rgb(171, 130, 38, 40%) #ab82264C  
rgb(171, 130, 38, 60%) #ab822699  
rgb(171, 130, 38, 80%) #ab8226CC  
rgb(171, 130, 38, 100%) #ab8226FF  

Saturated and desaturated colors of #ab8226

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

#ab8226 Color Usage In CSS

 body {
    color: #ab8226;
    }
 p {
    color: rgb(171, 130, 38);
    }
 header {
    border-bottom:1px solid #ab8226;
    }
Recent Random Colors