Random Color Generator

#cd8caa Color

Color Codes
Hex Code #cd8caa
RGB Code rgb(205, 140, 170)
HSL Code hsl(332, 39%, 68%)

#cd8caa Color Syntax

rgb()

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

 main {
    background-color: rgb(205, 140, 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(332, 39%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(205, 140, 170, 10%) #cd8caa1a  
rgb(205, 140, 170, 20%) #cd8caa33  
rgb(205, 140, 170, 40%) #cd8caa4C  
rgb(205, 140, 170, 60%) #cd8caa99  
rgb(205, 140, 170, 80%) #cd8caaCC  
rgb(205, 140, 170, 100%) #cd8caaFF  

Saturated and desaturated colors of #cd8caa

HSL Code Preview
hsl(332, 10%, 68%)  
hsl(332, 20%, 68%)  
hsl(332, 40%, 68%)  
hsl(332, 60%, 68%)  
hsl(332, 80%, 68%)  
hsl(332, 100%, 68%)  

#cd8caa Color Usage In CSS

 body {
    color: #cd8caa;
    }
 p {
    color: rgb(205, 140, 170);
    }
 header {
    border-bottom:1px solid #cd8caa;
    }
Recent Random Colors