Random Color Generator

#c31e20 Color

Color Codes
Hex Code #c31e20
RGB Code rgb(195, 30, 32)
HSL Code hsl(359, 73%, 44%)

#c31e20 Color Syntax

rgb()

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

 main {
    background-color: rgb(195, 30, 32);
   }

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(359, 73%, 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 #c31e20

RGB Code Hex Code Preview
rgb(195, 30, 32, 10%) #c31e201a  
rgb(195, 30, 32, 20%) #c31e2033  
rgb(195, 30, 32, 40%) #c31e204C  
rgb(195, 30, 32, 60%) #c31e2099  
rgb(195, 30, 32, 80%) #c31e20CC  
rgb(195, 30, 32, 100%) #c31e20FF  

Saturated and desaturated colors of #c31e20

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

#c31e20 Color Usage In CSS

 body {
    color: #c31e20;
    }
 p {
    color: rgb(195, 30, 32);
    }
 header {
    border-bottom:1px solid #c31e20;
    }
Recent Random Colors