Random Color Generator

#cc356c Color

Color Codes
Hex Code #cc356c
RGB Code rgb(204, 53, 108)
HSL Code hsl(338, 60%, 50%)

#cc356c Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 53, 108);
   }

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(338, 60%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(204, 53, 108, 10%) #cc356c1a  
rgb(204, 53, 108, 20%) #cc356c33  
rgb(204, 53, 108, 40%) #cc356c4C  
rgb(204, 53, 108, 60%) #cc356c99  
rgb(204, 53, 108, 80%) #cc356cCC  
rgb(204, 53, 108, 100%) #cc356cFF  

Saturated and desaturated colors of #cc356c

HSL Code Preview
hsl(338, 10%, 50%)  
hsl(338, 20%, 50%)  
hsl(338, 40%, 50%)  
hsl(338, 60%, 50%)  
hsl(338, 80%, 50%)  
hsl(338, 100%, 50%)  

#cc356c Color Usage In CSS

 body {
    color: #cc356c;
    }
 p {
    color: rgb(204, 53, 108);
    }
 header {
    border-bottom:1px solid #cc356c;
    }
Recent Random Colors