Random Color Generator

#a2971b Color

Color Codes
Hex Code #a2971b
RGB Code rgb(162, 151, 27)
HSL Code hsl(55, 71%, 37%)

#a2971b Color Syntax

rgb()

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

 main {
    background-color: rgb(162, 151, 27);
   }

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(55, 71%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(162, 151, 27, 10%) #a2971b1a  
rgb(162, 151, 27, 20%) #a2971b33  
rgb(162, 151, 27, 40%) #a2971b4C  
rgb(162, 151, 27, 60%) #a2971b99  
rgb(162, 151, 27, 80%) #a2971bCC  
rgb(162, 151, 27, 100%) #a2971bFF  

Saturated and desaturated colors of #a2971b

HSL Code Preview
hsl(55, 10%, 37%)  
hsl(55, 20%, 37%)  
hsl(55, 40%, 37%)  
hsl(55, 60%, 37%)  
hsl(55, 80%, 37%)  
hsl(55, 100%, 37%)  

#a2971b Color Usage In CSS

 body {
    color: #a2971b;
    }
 p {
    color: rgb(162, 151, 27);
    }
 header {
    border-bottom:1px solid #a2971b;
    }
Recent Random Colors