Random Color Generator

#e5a2e5 Color

Color Codes
Hex Code #e5a2e5
RGB Code rgb(229, 162, 229)
HSL Code hsl(300, 56%, 77%)

#e5a2e5 Color Syntax

rgb()

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

 main {
    background-color: rgb(229, 162, 229);
   }

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(300, 56%, 77%);
  }

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

RGB Code Hex Code Preview
rgb(229, 162, 229, 10%) #e5a2e51a  
rgb(229, 162, 229, 20%) #e5a2e533  
rgb(229, 162, 229, 40%) #e5a2e54C  
rgb(229, 162, 229, 60%) #e5a2e599  
rgb(229, 162, 229, 80%) #e5a2e5CC  
rgb(229, 162, 229, 100%) #e5a2e5FF  

Saturated and desaturated colors of #e5a2e5

HSL Code Preview
hsl(300, 10%, 77%)  
hsl(300, 20%, 77%)  
hsl(300, 40%, 77%)  
hsl(300, 60%, 77%)  
hsl(300, 80%, 77%)  
hsl(300, 100%, 77%)  

#e5a2e5 Color Usage In CSS

 body {
    color: #e5a2e5;
    }
 p {
    color: rgb(229, 162, 229);
    }
 header {
    border-bottom:1px solid #e5a2e5;
    }
Recent Random Colors