Random Color Generator

#c52c48 Color

Color Codes
Hex Code #c52c48
RGB Code rgb(197, 44, 72)
HSL Code hsl(349, 63%, 47%)

#c52c48 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 44, 72);
   }

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(349, 63%, 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 #c52c48

RGB Code Hex Code Preview
rgb(197, 44, 72, 10%) #c52c481a  
rgb(197, 44, 72, 20%) #c52c4833  
rgb(197, 44, 72, 40%) #c52c484C  
rgb(197, 44, 72, 60%) #c52c4899  
rgb(197, 44, 72, 80%) #c52c48CC  
rgb(197, 44, 72, 100%) #c52c48FF  

Saturated and desaturated colors of #c52c48

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

#c52c48 Color Usage In CSS

 body {
    color: #c52c48;
    }
 p {
    color: rgb(197, 44, 72);
    }
 header {
    border-bottom:1px solid #c52c48;
    }
Recent Random Colors