Random Color Generator

#c5a5bb Color

Color Codes
Hex Code #c5a5bb
RGB Code rgb(197, 165, 187)
HSL Code hsl(319, 22%, 71%)

#c5a5bb Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 165, 187);
   }

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(319, 22%, 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 #c5a5bb

RGB Code Hex Code Preview
rgb(197, 165, 187, 10%) #c5a5bb1a  
rgb(197, 165, 187, 20%) #c5a5bb33  
rgb(197, 165, 187, 40%) #c5a5bb4C  
rgb(197, 165, 187, 60%) #c5a5bb99  
rgb(197, 165, 187, 80%) #c5a5bbCC  
rgb(197, 165, 187, 100%) #c5a5bbFF  

Saturated and desaturated colors of #c5a5bb

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

#c5a5bb Color Usage In CSS

 body {
    color: #c5a5bb;
    }
 p {
    color: rgb(197, 165, 187);
    }
 header {
    border-bottom:1px solid #c5a5bb;
    }
Recent Random Colors