Random Color Generator

#c72733 Color

Color Codes
Hex Code #c72733
RGB Code rgb(199, 39, 51)
HSL Code hsl(356, 67%, 47%)

#c72733 Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 39, 51);
   }

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(356, 67%, 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 #c72733

RGB Code Hex Code Preview
rgb(199, 39, 51, 10%) #c727331a  
rgb(199, 39, 51, 20%) #c7273333  
rgb(199, 39, 51, 40%) #c727334C  
rgb(199, 39, 51, 60%) #c7273399  
rgb(199, 39, 51, 80%) #c72733CC  
rgb(199, 39, 51, 100%) #c72733FF  

Saturated and desaturated colors of #c72733

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

#c72733 Color Usage In CSS

 body {
    color: #c72733;
    }
 p {
    color: rgb(199, 39, 51);
    }
 header {
    border-bottom:1px solid #c72733;
    }
Recent Random Colors