Random Color Generator

#d82f16 Color

Color Codes
Hex Code #d82f16
RGB Code rgb(216, 47, 22)
HSL Code hsl(8, 82%, 47%)

#d82f16 Color Syntax

rgb()

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

 main {
    background-color: rgb(216, 47, 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(8, 82%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(216, 47, 22, 10%) #d82f161a  
rgb(216, 47, 22, 20%) #d82f1633  
rgb(216, 47, 22, 40%) #d82f164C  
rgb(216, 47, 22, 60%) #d82f1699  
rgb(216, 47, 22, 80%) #d82f16CC  
rgb(216, 47, 22, 100%) #d82f16FF  

Saturated and desaturated colors of #d82f16

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

#d82f16 Color Usage In CSS

 body {
    color: #d82f16;
    }
 p {
    color: rgb(216, 47, 22);
    }
 header {
    border-bottom:1px solid #d82f16;
    }
Recent Random Colors