Random Color Generator

#a51445 Color

Color Codes
Hex Code #a51445
RGB Code rgb(165, 20, 69)
HSL Code hsl(340, 78%, 36%)

#a51445 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 20, 69);
   }

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(340, 78%, 36%);
  }

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

RGB Code Hex Code Preview
rgb(165, 20, 69, 10%) #a514451a  
rgb(165, 20, 69, 20%) #a5144533  
rgb(165, 20, 69, 40%) #a514454C  
rgb(165, 20, 69, 60%) #a5144599  
rgb(165, 20, 69, 80%) #a51445CC  
rgb(165, 20, 69, 100%) #a51445FF  

Saturated and desaturated colors of #a51445

HSL Code Preview
hsl(340, 10%, 36%)  
hsl(340, 20%, 36%)  
hsl(340, 40%, 36%)  
hsl(340, 60%, 36%)  
hsl(340, 80%, 36%)  
hsl(340, 100%, 36%)  

#a51445 Color Usage In CSS

 body {
    color: #a51445;
    }
 p {
    color: rgb(165, 20, 69);
    }
 header {
    border-bottom:1px solid #a51445;
    }
Recent Random Colors