Random Color Generator

#dc1c29 Color

Color Codes
Hex Code #dc1c29
RGB Code rgb(220, 28, 41)
HSL Code hsl(356, 77%, 49%)

#dc1c29 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 28, 41);
   }

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, 77%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(220, 28, 41, 10%) #dc1c291a  
rgb(220, 28, 41, 20%) #dc1c2933  
rgb(220, 28, 41, 40%) #dc1c294C  
rgb(220, 28, 41, 60%) #dc1c2999  
rgb(220, 28, 41, 80%) #dc1c29CC  
rgb(220, 28, 41, 100%) #dc1c29FF  

Saturated and desaturated colors of #dc1c29

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

#dc1c29 Color Usage In CSS

 body {
    color: #dc1c29;
    }
 p {
    color: rgb(220, 28, 41);
    }
 header {
    border-bottom:1px solid #dc1c29;
    }
Recent Random Colors