Random Color Generator

#cca0c4 Color

Color Codes
Hex Code #cca0c4
RGB Code rgb(204, 160, 196)
HSL Code hsl(311, 30%, 71%)

#cca0c4 Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 160, 196);
   }

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(311, 30%, 71%);
  }

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

RGB Code Hex Code Preview
rgb(204, 160, 196, 10%) #cca0c41a  
rgb(204, 160, 196, 20%) #cca0c433  
rgb(204, 160, 196, 40%) #cca0c44C  
rgb(204, 160, 196, 60%) #cca0c499  
rgb(204, 160, 196, 80%) #cca0c4CC  
rgb(204, 160, 196, 100%) #cca0c4FF  

Saturated and desaturated colors of #cca0c4

HSL Code Preview
hsl(311, 10%, 71%)  
hsl(311, 20%, 71%)  
hsl(311, 40%, 71%)  
hsl(311, 60%, 71%)  
hsl(311, 80%, 71%)  
hsl(311, 100%, 71%)  

#cca0c4 Color Usage In CSS

 body {
    color: #cca0c4;
    }
 p {
    color: rgb(204, 160, 196);
    }
 header {
    border-bottom:1px solid #cca0c4;
    }
Recent Random Colors