Random Color Generator

#cc2317 Color

Color Codes
Hex Code #cc2317
RGB Code rgb(204, 35, 23)
HSL Code hsl(4, 80%, 45%)

#cc2317 Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 35, 23);
   }

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(4, 80%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(204, 35, 23, 10%) #cc23171a  
rgb(204, 35, 23, 20%) #cc231733  
rgb(204, 35, 23, 40%) #cc23174C  
rgb(204, 35, 23, 60%) #cc231799  
rgb(204, 35, 23, 80%) #cc2317CC  
rgb(204, 35, 23, 100%) #cc2317FF  

Saturated and desaturated colors of #cc2317

HSL Code Preview
hsl(4, 10%, 45%)  
hsl(4, 20%, 45%)  
hsl(4, 40%, 45%)  
hsl(4, 60%, 45%)  
hsl(4, 80%, 45%)  
hsl(4, 100%, 45%)  

#cc2317 Color Usage In CSS

 body {
    color: #cc2317;
    }
 p {
    color: rgb(204, 35, 23);
    }
 header {
    border-bottom:1px solid #cc2317;
    }
Recent Random Colors