Random Color Generator

#c71810 Color

Color Codes
Hex Code #c71810
RGB Code rgb(199, 24, 16)
HSL Code hsl(3, 85%, 42%)

#c71810 Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 24, 16);
   }

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(3, 85%, 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 #c71810

RGB Code Hex Code Preview
rgb(199, 24, 16, 10%) #c718101a  
rgb(199, 24, 16, 20%) #c7181033  
rgb(199, 24, 16, 40%) #c718104C  
rgb(199, 24, 16, 60%) #c7181099  
rgb(199, 24, 16, 80%) #c71810CC  
rgb(199, 24, 16, 100%) #c71810FF  

Saturated and desaturated colors of #c71810

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

#c71810 Color Usage In CSS

 body {
    color: #c71810;
    }
 p {
    color: rgb(199, 24, 16);
    }
 header {
    border-bottom:1px solid #c71810;
    }
Recent Random Colors