Random Color Generator

#cc9aaa Color

Color Codes
Hex Code #cc9aaa
RGB Code rgb(204, 154, 170)
HSL Code hsl(341, 33%, 70%)

#cc9aaa Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 154, 170);
   }

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(341, 33%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(204, 154, 170, 10%) #cc9aaa1a  
rgb(204, 154, 170, 20%) #cc9aaa33  
rgb(204, 154, 170, 40%) #cc9aaa4C  
rgb(204, 154, 170, 60%) #cc9aaa99  
rgb(204, 154, 170, 80%) #cc9aaaCC  
rgb(204, 154, 170, 100%) #cc9aaaFF  

Saturated and desaturated colors of #cc9aaa

HSL Code Preview
hsl(341, 10%, 70%)  
hsl(341, 20%, 70%)  
hsl(341, 40%, 70%)  
hsl(341, 60%, 70%)  
hsl(341, 80%, 70%)  
hsl(341, 100%, 70%)  

#cc9aaa Color Usage In CSS

 body {
    color: #cc9aaa;
    }
 p {
    color: rgb(204, 154, 170);
    }
 header {
    border-bottom:1px solid #cc9aaa;
    }
Recent Random Colors