Random Color Generator

#e2c5dc Color

Color Codes
Hex Code #e2c5dc
RGB Code rgb(226, 197, 220)
HSL Code hsl(312, 33%, 83%)

#e2c5dc Color Syntax

rgb()

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

 main {
    background-color: rgb(226, 197, 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(312, 33%, 83%);
  }

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

RGB Code Hex Code Preview
rgb(226, 197, 220, 10%) #e2c5dc1a  
rgb(226, 197, 220, 20%) #e2c5dc33  
rgb(226, 197, 220, 40%) #e2c5dc4C  
rgb(226, 197, 220, 60%) #e2c5dc99  
rgb(226, 197, 220, 80%) #e2c5dcCC  
rgb(226, 197, 220, 100%) #e2c5dcFF  

Saturated and desaturated colors of #e2c5dc

HSL Code Preview
hsl(312, 10%, 83%)  
hsl(312, 20%, 83%)  
hsl(312, 40%, 83%)  
hsl(312, 60%, 83%)  
hsl(312, 80%, 83%)  
hsl(312, 100%, 83%)  

#e2c5dc Color Usage In CSS

 body {
    color: #e2c5dc;
    }
 p {
    color: rgb(226, 197, 220);
    }
 header {
    border-bottom:1px solid #e2c5dc;
    }
Recent Random Colors