Random Color Generator

#c71b2c Color

Color Codes
Hex Code #c71b2c
RGB Code rgb(199, 27, 44)
HSL Code hsl(354, 76%, 44%)

#c71b2c Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 27, 44);
   }

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(354, 76%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(199, 27, 44, 10%) #c71b2c1a  
rgb(199, 27, 44, 20%) #c71b2c33  
rgb(199, 27, 44, 40%) #c71b2c4C  
rgb(199, 27, 44, 60%) #c71b2c99  
rgb(199, 27, 44, 80%) #c71b2cCC  
rgb(199, 27, 44, 100%) #c71b2cFF  

Saturated and desaturated colors of #c71b2c

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

#c71b2c Color Usage In CSS

 body {
    color: #c71b2c;
    }
 p {
    color: rgb(199, 27, 44);
    }
 header {
    border-bottom:1px solid #c71b2c;
    }
Recent Random Colors