Random Color Generator

#a6582e Color

Color Codes
Hex Code #a6582e
RGB Code rgb(166, 88, 46)
HSL Code hsl(21, 57%, 42%)

#a6582e Color Syntax

rgb()

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

 main {
    background-color: rgb(166, 88, 46);
   }

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(21, 57%, 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 #a6582e

RGB Code Hex Code Preview
rgb(166, 88, 46, 10%) #a6582e1a  
rgb(166, 88, 46, 20%) #a6582e33  
rgb(166, 88, 46, 40%) #a6582e4C  
rgb(166, 88, 46, 60%) #a6582e99  
rgb(166, 88, 46, 80%) #a6582eCC  
rgb(166, 88, 46, 100%) #a6582eFF  

Saturated and desaturated colors of #a6582e

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

#a6582e Color Usage In CSS

 body {
    color: #a6582e;
    }
 p {
    color: rgb(166, 88, 46);
    }
 header {
    border-bottom:1px solid #a6582e;
    }
Recent Random Colors