Random Color Generator

#cc3e74 Color

Color Codes
Hex Code #cc3e74
RGB Code rgb(204, 62, 116)
HSL Code hsl(337, 58%, 52%)

#cc3e74 Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 62, 116);
   }

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(337, 58%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(204, 62, 116, 10%) #cc3e741a  
rgb(204, 62, 116, 20%) #cc3e7433  
rgb(204, 62, 116, 40%) #cc3e744C  
rgb(204, 62, 116, 60%) #cc3e7499  
rgb(204, 62, 116, 80%) #cc3e74CC  
rgb(204, 62, 116, 100%) #cc3e74FF  

Saturated and desaturated colors of #cc3e74

HSL Code Preview
hsl(337, 10%, 52%)  
hsl(337, 20%, 52%)  
hsl(337, 40%, 52%)  
hsl(337, 60%, 52%)  
hsl(337, 80%, 52%)  
hsl(337, 100%, 52%)  

#cc3e74 Color Usage In CSS

 body {
    color: #cc3e74;
    }
 p {
    color: rgb(204, 62, 116);
    }
 header {
    border-bottom:1px solid #cc3e74;
    }
Recent Random Colors