Random Color Generator

#d22d16 Color

Color Codes
Hex Code #d22d16
RGB Code rgb(210, 45, 22)
HSL Code hsl(7, 81%, 45%)

#d22d16 Color Syntax

rgb()

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

 main {
    background-color: rgb(210, 45, 22);
   }

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(7, 81%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(210, 45, 22, 10%) #d22d161a  
rgb(210, 45, 22, 20%) #d22d1633  
rgb(210, 45, 22, 40%) #d22d164C  
rgb(210, 45, 22, 60%) #d22d1699  
rgb(210, 45, 22, 80%) #d22d16CC  
rgb(210, 45, 22, 100%) #d22d16FF  

Saturated and desaturated colors of #d22d16

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

#d22d16 Color Usage In CSS

 body {
    color: #d22d16;
    }
 p {
    color: rgb(210, 45, 22);
    }
 header {
    border-bottom:1px solid #d22d16;
    }
Recent Random Colors