Random Color Generator

#a54946 Color

Color Codes
Hex Code #a54946
RGB Code rgb(165, 73, 70)
HSL Code hsl(2, 40%, 46%)

#a54946 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 73, 70);
   }

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(2, 40%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(165, 73, 70, 10%) #a549461a  
rgb(165, 73, 70, 20%) #a5494633  
rgb(165, 73, 70, 40%) #a549464C  
rgb(165, 73, 70, 60%) #a5494699  
rgb(165, 73, 70, 80%) #a54946CC  
rgb(165, 73, 70, 100%) #a54946FF  

Saturated and desaturated colors of #a54946

HSL Code Preview
hsl(2, 10%, 46%)  
hsl(2, 20%, 46%)  
hsl(2, 40%, 46%)  
hsl(2, 60%, 46%)  
hsl(2, 80%, 46%)  
hsl(2, 100%, 46%)  

#a54946 Color Usage In CSS

 body {
    color: #a54946;
    }
 p {
    color: rgb(165, 73, 70);
    }
 header {
    border-bottom:1px solid #a54946;
    }
Recent Random Colors