Random Color Generator

#dc1b15 Color

Color Codes
Hex Code #dc1b15
RGB Code rgb(220, 27, 21)
HSL Code hsl(2, 83%, 47%)

#dc1b15 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 27, 21);
   }

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(2, 83%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(220, 27, 21, 10%) #dc1b151a  
rgb(220, 27, 21, 20%) #dc1b1533  
rgb(220, 27, 21, 40%) #dc1b154C  
rgb(220, 27, 21, 60%) #dc1b1599  
rgb(220, 27, 21, 80%) #dc1b15CC  
rgb(220, 27, 21, 100%) #dc1b15FF  

Saturated and desaturated colors of #dc1b15

HSL Code Preview
hsl(2, 10%, 47%)  
hsl(2, 20%, 47%)  
hsl(2, 40%, 47%)  
hsl(2, 60%, 47%)  
hsl(2, 80%, 47%)  
hsl(2, 100%, 47%)  

#dc1b15 Color Usage In CSS

 body {
    color: #dc1b15;
    }
 p {
    color: rgb(220, 27, 21);
    }
 header {
    border-bottom:1px solid #dc1b15;
    }
Recent Random Colors