Random Color Generator

#e772ce Color

Color Codes
Hex Code #e772ce
RGB Code rgb(231, 114, 206)
HSL Code hsl(313, 71%, 68%)

#e772ce Color Syntax

rgb()

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

 main {
    background-color: rgb(231, 114, 206);
   }

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(313, 71%, 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 #e772ce

RGB Code Hex Code Preview
rgb(231, 114, 206, 10%) #e772ce1a  
rgb(231, 114, 206, 20%) #e772ce33  
rgb(231, 114, 206, 40%) #e772ce4C  
rgb(231, 114, 206, 60%) #e772ce99  
rgb(231, 114, 206, 80%) #e772ceCC  
rgb(231, 114, 206, 100%) #e772ceFF  

Saturated and desaturated colors of #e772ce

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

#e772ce Color Usage In CSS

 body {
    color: #e772ce;
    }
 p {
    color: rgb(231, 114, 206);
    }
 header {
    border-bottom:1px solid #e772ce;
    }
Recent Random Colors