Random Color Generator

#c40d24 Color

Color Codes
Hex Code #c40d24
RGB Code rgb(196, 13, 36)
HSL Code hsl(352, 88%, 41%)

#c40d24 Color Syntax

rgb()

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

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

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(352, 88%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(196, 13, 36, 10%) #c40d241a  
rgb(196, 13, 36, 20%) #c40d2433  
rgb(196, 13, 36, 40%) #c40d244C  
rgb(196, 13, 36, 60%) #c40d2499  
rgb(196, 13, 36, 80%) #c40d24CC  
rgb(196, 13, 36, 100%) #c40d24FF  

Saturated and desaturated colors of #c40d24

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

#c40d24 Color Usage In CSS

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