Random Color Generator

#c71149 Color

Color Codes
Hex Code #c71149
RGB Code rgb(199, 17, 73)
HSL Code hsl(342, 84%, 42%)

#c71149 Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 17, 73);
   }

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(342, 84%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(199, 17, 73, 10%) #c711491a  
rgb(199, 17, 73, 20%) #c7114933  
rgb(199, 17, 73, 40%) #c711494C  
rgb(199, 17, 73, 60%) #c7114999  
rgb(199, 17, 73, 80%) #c71149CC  
rgb(199, 17, 73, 100%) #c71149FF  

Saturated and desaturated colors of #c71149

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

#c71149 Color Usage In CSS

 body {
    color: #c71149;
    }
 p {
    color: rgb(199, 17, 73);
    }
 header {
    border-bottom:1px solid #c71149;
    }
Recent Random Colors