Random Color Generator

#c9b4dc Color

Color Codes
Hex Code #c9b4dc
RGB Code rgb(201, 180, 220)
HSL Code hsl(272, 36%, 78%)

#c9b4dc Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 180, 220);
   }

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(272, 36%, 78%);
  }

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

RGB Code Hex Code Preview
rgb(201, 180, 220, 10%) #c9b4dc1a  
rgb(201, 180, 220, 20%) #c9b4dc33  
rgb(201, 180, 220, 40%) #c9b4dc4C  
rgb(201, 180, 220, 60%) #c9b4dc99  
rgb(201, 180, 220, 80%) #c9b4dcCC  
rgb(201, 180, 220, 100%) #c9b4dcFF  

Saturated and desaturated colors of #c9b4dc

HSL Code Preview
hsl(272, 10%, 78%)  
hsl(272, 20%, 78%)  
hsl(272, 40%, 78%)  
hsl(272, 60%, 78%)  
hsl(272, 80%, 78%)  
hsl(272, 100%, 78%)  

#c9b4dc Color Usage In CSS

 body {
    color: #c9b4dc;
    }
 p {
    color: rgb(201, 180, 220);
    }
 header {
    border-bottom:1px solid #c9b4dc;
    }
Recent Random Colors