Random Color Generator

#ad0021 Color

Color Codes
Hex Code #ad0021
RGB Code rgb(173, 00, 33)
HSL Code hsl(349, 100%, 34%)

#ad0021 Color Syntax

rgb()

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

 main {
    background-color: rgb(173, 00, 33);
   }

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(349, 100%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(173, 00, 33, 10%) #ad00211a  
rgb(173, 00, 33, 20%) #ad002133  
rgb(173, 00, 33, 40%) #ad00214C  
rgb(173, 00, 33, 60%) #ad002199  
rgb(173, 00, 33, 80%) #ad0021CC  
rgb(173, 00, 33, 100%) #ad0021FF  

Saturated and desaturated colors of #ad0021

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

#ad0021 Color Usage In CSS

 body {
    color: #ad0021;
    }
 p {
    color: rgb(173, 00, 33);
    }
 header {
    border-bottom:1px solid #ad0021;
    }
Recent Random Colors