Random Color Generator

#cc0d50 Color

Color Codes
Hex Code #cc0d50
RGB Code rgb(204, 13, 80)
HSL Code hsl(339, 88%, 43%)

#cc0d50 Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 13, 80);
   }

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(339, 88%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(204, 13, 80, 10%) #cc0d501a  
rgb(204, 13, 80, 20%) #cc0d5033  
rgb(204, 13, 80, 40%) #cc0d504C  
rgb(204, 13, 80, 60%) #cc0d5099  
rgb(204, 13, 80, 80%) #cc0d50CC  
rgb(204, 13, 80, 100%) #cc0d50FF  

Saturated and desaturated colors of #cc0d50

HSL Code Preview
hsl(339, 10%, 43%)  
hsl(339, 20%, 43%)  
hsl(339, 40%, 43%)  
hsl(339, 60%, 43%)  
hsl(339, 80%, 43%)  
hsl(339, 100%, 43%)  

#cc0d50 Color Usage In CSS

 body {
    color: #cc0d50;
    }
 p {
    color: rgb(204, 13, 80);
    }
 header {
    border-bottom:1px solid #cc0d50;
    }
Recent Random Colors