Random Color Generator

#cc1220 Color

Color Codes
Hex Code #cc1220
RGB Code rgb(204, 18, 32)
HSL Code hsl(355, 84%, 44%)

#cc1220 Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 18, 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(355, 84%, 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 #cc1220

RGB Code Hex Code Preview
rgb(204, 18, 32, 10%) #cc12201a  
rgb(204, 18, 32, 20%) #cc122033  
rgb(204, 18, 32, 40%) #cc12204C  
rgb(204, 18, 32, 60%) #cc122099  
rgb(204, 18, 32, 80%) #cc1220CC  
rgb(204, 18, 32, 100%) #cc1220FF  

Saturated and desaturated colors of #cc1220

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

#cc1220 Color Usage In CSS

 body {
    color: #cc1220;
    }
 p {
    color: rgb(204, 18, 32);
    }
 header {
    border-bottom:1px solid #cc1220;
    }
Recent Random Colors