Random Color Generator

#c51c4e Color

Color Codes
Hex Code #c51c4e
RGB Code rgb(197, 28, 78)
HSL Code hsl(342, 75%, 44%)

#c51c4e Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 28, 78);
   }

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(342, 75%, 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 #c51c4e

RGB Code Hex Code Preview
rgb(197, 28, 78, 10%) #c51c4e1a  
rgb(197, 28, 78, 20%) #c51c4e33  
rgb(197, 28, 78, 40%) #c51c4e4C  
rgb(197, 28, 78, 60%) #c51c4e99  
rgb(197, 28, 78, 80%) #c51c4eCC  
rgb(197, 28, 78, 100%) #c51c4eFF  

Saturated and desaturated colors of #c51c4e

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

#c51c4e Color Usage In CSS

 body {
    color: #c51c4e;
    }
 p {
    color: rgb(197, 28, 78);
    }
 header {
    border-bottom:1px solid #c51c4e;
    }
Recent Random Colors