Random Color Generator

#ad1d23 Color

Color Codes
Hex Code #ad1d23
RGB Code rgb(173, 29, 35)
HSL Code hsl(358, 71%, 40%)

#ad1d23 Color Syntax

rgb()

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

 main {
    background-color: rgb(173, 29, 35);
   }

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, 71%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(173, 29, 35, 10%) #ad1d231a  
rgb(173, 29, 35, 20%) #ad1d2333  
rgb(173, 29, 35, 40%) #ad1d234C  
rgb(173, 29, 35, 60%) #ad1d2399  
rgb(173, 29, 35, 80%) #ad1d23CC  
rgb(173, 29, 35, 100%) #ad1d23FF  

Saturated and desaturated colors of #ad1d23

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

#ad1d23 Color Usage In CSS

 body {
    color: #ad1d23;
    }
 p {
    color: rgb(173, 29, 35);
    }
 header {
    border-bottom:1px solid #ad1d23;
    }
Recent Random Colors