Random Color Generator

#ad1b1f Color

Color Codes
Hex Code #ad1b1f
RGB Code rgb(173, 27, 31)
HSL Code hsl(358, 73%, 39%)

#ad1b1f Color Syntax

rgb()

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

 main {
    background-color: rgb(173, 27, 31);
   }

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(358, 73%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(173, 27, 31, 10%) #ad1b1f1a  
rgb(173, 27, 31, 20%) #ad1b1f33  
rgb(173, 27, 31, 40%) #ad1b1f4C  
rgb(173, 27, 31, 60%) #ad1b1f99  
rgb(173, 27, 31, 80%) #ad1b1fCC  
rgb(173, 27, 31, 100%) #ad1b1fFF  

Saturated and desaturated colors of #ad1b1f

HSL Code Preview
hsl(358, 10%, 39%)  
hsl(358, 20%, 39%)  
hsl(358, 40%, 39%)  
hsl(358, 60%, 39%)  
hsl(358, 80%, 39%)  
hsl(358, 100%, 39%)  

#ad1b1f Color Usage In CSS

 body {
    color: #ad1b1f;
    }
 p {
    color: rgb(173, 27, 31);
    }
 header {
    border-bottom:1px solid #ad1b1f;
    }
Recent Random Colors