Random Color Generator

#c40e32 Color

Color Codes
Hex Code #c40e32
RGB Code rgb(196, 14, 50)
HSL Code hsl(348, 87%, 41%)

#c40e32 Color Syntax

rgb()

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

 main {
    background-color: rgb(196, 14, 50);
   }

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(348, 87%, 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 #c40e32

RGB Code Hex Code Preview
rgb(196, 14, 50, 10%) #c40e321a  
rgb(196, 14, 50, 20%) #c40e3233  
rgb(196, 14, 50, 40%) #c40e324C  
rgb(196, 14, 50, 60%) #c40e3299  
rgb(196, 14, 50, 80%) #c40e32CC  
rgb(196, 14, 50, 100%) #c40e32FF  

Saturated and desaturated colors of #c40e32

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

#c40e32 Color Usage In CSS

 body {
    color: #c40e32;
    }
 p {
    color: rgb(196, 14, 50);
    }
 header {
    border-bottom:1px solid #c40e32;
    }
Recent Random Colors