Random Color Generator

#c40d09 Color

Color Codes
Hex Code #c40d09
RGB Code rgb(196, 13, 09)
HSL Code hsl(1, 91%, 40%)

#c40d09 Color Syntax

rgb()

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

 main {
    background-color: rgb(196, 13, 09);
   }

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(1, 91%, 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 #c40d09

RGB Code Hex Code Preview
rgb(196, 13, 09, 10%) #c40d091a  
rgb(196, 13, 09, 20%) #c40d0933  
rgb(196, 13, 09, 40%) #c40d094C  
rgb(196, 13, 09, 60%) #c40d0999  
rgb(196, 13, 09, 80%) #c40d09CC  
rgb(196, 13, 09, 100%) #c40d09FF  

Saturated and desaturated colors of #c40d09

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

#c40d09 Color Usage In CSS

 body {
    color: #c40d09;
    }
 p {
    color: rgb(196, 13, 09);
    }
 header {
    border-bottom:1px solid #c40d09;
    }
Recent Random Colors